@@ -749,7 +749,8 @@ class TranslatorChinesetraditional : public Translator
749
749
/* ! This is put at the bottom of a class documentation page and is
750
750
* followed by a list of files that were used to generate the page.
751
751
*/
752
- virtual QCString trGeneratedFromFiles (ClassDef::CompoundType compType,bool )
752
+ virtual QCString trGeneratedFromFiles (ClassDef::CompoundType compType,
753
+ bool single)
753
754
{ // here s is one of " Class", " Struct" or " Union"
754
755
// single is true implies a single file
755
756
QCString result=(QCString)" 此" ;
@@ -765,7 +766,7 @@ class TranslatorChinesetraditional : public Translator
765
766
default : break ;
766
767
}
767
768
result+=" 文件是由下列檔案中產生" ;
768
- result+=" :" ;
769
+ if (single) result+= " : " ; else result+=" :" ;
769
770
return result;
770
771
}
771
772
@@ -993,7 +994,7 @@ class TranslatorChinesetraditional : public Translator
993
994
" .<p>\n "
994
995
" 請看下面範例:\n "
995
996
" \\ code\n "
996
- " /*! 因為截斷的不可見類別 */\n "
997
+ " /*! 因為截斷而造成的不可見類別 */\n "
997
998
" class Invisible { };\n\n "
998
999
" /*! 截斷的類別, 繼承關係被隱藏 */\n "
999
1000
" class Truncated : public Invisible { };\n\n "
@@ -1020,32 +1021,32 @@ class TranslatorChinesetraditional : public Translator
1020
1021
" Used *m_usedClass;\n "
1021
1022
" };\n "
1022
1023
" \\ endcode\n "
1023
- " 若在組態檔中的 \\ c MAX_DOT_GRAPH_HEIGHT tag "
1024
- " 設為 240,將會產生下列的圖示:"
1025
- " <p><center><img src=\" graph_legend." +Config_getEnum (" DOT_IMAGE_FORMAT" )+" \" ></center>\n "
1024
+ " 這個例子會產生下列的圖示:"
1025
+ " <p><center><img alt=\"\" src=\" graph_legend." +Config_getEnum (" DOT_IMAGE_FORMAT" )+" \" ></center></p>\n "
1026
1026
" <p>\n "
1027
1027
" 上圖中的各區塊意義如下:\n "
1028
+ " </p>\n "
1028
1029
" <ul>\n "
1029
1030
" <li>%A 填滿黑色的區塊代表產生這個圖示的類別或結構 "
1030
1031
" .\n "
1031
- " <li>%A 黑邊的區塊代表文件化過的結構或類別.\n "
1032
- " <li>%A 灰邊的區塊代表未經文件化的結構或是類別.\n "
1032
+ " <li>%A 黑邊的區塊代表文件化過的結構或類別.</li> \n "
1033
+ " <li>%A 灰邊的區塊代表未經文件化的結構或是類別.</li> \n "
1033
1034
" <li>%A 紅邊的區塊代表文件化的結構或是類別,"
1034
1035
" 這些結構或類別的繼承或包含關係不會全部顯示. %A 圖示 "
1035
- " 若無法塞入指定的邊界中將會被截斷.\n "
1036
+ " 若無法塞入指定的邊界中將會被截斷.</li> \n "
1036
1037
" </ul>\n "
1038
+ " <p>\n "
1037
1039
" 箭頭具有下面的意義:\n "
1040
+ " </p>\n "
1038
1041
" <ul>\n "
1039
1042
" <li>%A 深藍色箭頭用來代表兩個類別間的公開繼承 "
1040
1043
" 關係.\n "
1041
- " <li>%A 深綠色箭頭代表保護繼承. \n "
1042
- " <li>%A 深紅色箭頭代表私有繼承. \n "
1044
+ " <li>%A 深綠色箭頭代表保護繼承。</li> \n "
1045
+ " <li>%A 深紅色箭頭代表私有繼承。</li> \n "
1043
1046
" <li>%A 紫色箭頭用來表示類別被另一個包含或是使用."
1044
- " 箭頭上標示著可存取該類別或是結構的對應變數"
1045
- " .\n "
1047
+ " 箭頭上標示著可存取該類別或是結構的對應變數。</li>\n "
1046
1048
" <li>%A 黃色箭頭代表樣版實體與樣版類別之間的關係。"
1047
- " 箭頭上標記著樣版實體上的參數"
1048
- " .\n "
1049
+ " 箭頭上標記著樣版實體上的參數。</li>\n "
1049
1050
" </ul>\n " ;
1050
1051
}
1051
1052
/* ! text for the link to the legend page */
@@ -1947,21 +1948,21 @@ class TranslatorChinesetraditional : public Translator
1947
1948
return result;
1948
1949
}
1949
1950
/* * UNO IDL service page */
1950
- virtual QCString trServiceGeneratedFromFiles (bool )
1951
+ virtual QCString trServiceGeneratedFromFiles (bool single )
1951
1952
{
1952
1953
// single is true implies a single file
1953
1954
QCString result=(QCString)" 本服務的文件由以下的檔案"
1954
1955
" 所產生" ;
1955
- result+=" :" ;
1956
+ if (single) result+= " : " ; else result+=" :" ;
1956
1957
return result;
1957
1958
}
1958
1959
/* * UNO IDL singleton page */
1959
- virtual QCString trSingletonGeneratedFromFiles (bool )
1960
+ virtual QCString trSingletonGeneratedFromFiles (bool single )
1960
1961
{
1961
1962
// single is true implies a single file
1962
1963
QCString result=(QCString)" 本singleton的文件由下面的檔案"
1963
1964
" 所產生" ;
1964
- result+=" :" ;
1965
+ if (single) result+= " : " ; else result+=" :" ;
1965
1966
return result;
1966
1967
}
1967
1968
0 commit comments