-
Notifications
You must be signed in to change notification settings - Fork 118
/
translator.xml
84 lines (74 loc) · 3.95 KB
/
translator.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<translator-config>
<system-key-prefix>System</system-key-prefix>
<reference-locale>en_US</reference-locale>
<source-directories>
<root>src</root>
<root>src-core</root>
<root>src-ui</root>
<root>src-db</root>
</source-directories>
<scan-phrases>
<scan-phrase>Messages.getString(</scan-phrase>
<scan-phrase>BaseMessages.getString(PKG,</scan-phrase>
</scan-phrases>
<locale-list>
<locale> <code>en_US</code> <language>English</language> <country>United States of America</country> </locale>
<locale> <code>fr_FR</code> <language>French</language> <country>France</country> </locale>
<locale> <code>it_IT</code> <language>Italian</language> <country>Italy</country> </locale>
<locale> <code>es_AR</code> <language>Spanish</language> <country>Argentina</country> </locale>
<locale> <code>de_DE</code> <language>German</language> <country>Germany</country> </locale>
<locale> <code>es_ES</code> <language>Spanish</language> <country>Spain</country> </locale>
<locale> <code>zh_CN</code> <language>Simplified Chinese</language> <country>China</country> </locale>
<locale> <code>nl_NL</code> <language>Dutch</language> <country>The Netherlands</country> </locale>
<locale> <code>pt_BR</code> <language>Portuguese</language> <country>Brazil</country> </locale>
<locale> <code>pt_PT</code> <language>Portuguese</language> <country>Portugal</country> </locale>
<locale> <code>ja_JP</code> <language>Japanese</language> <country>Japan</country> </locale>
<locale> <code>ko_KR</code> <language>Korean</language> <country>Korea</country> </locale>
</locale-list>
<files-to-avoid>
<filename>MessagesSourceCrawler.java</filename>
<filename>KeyOccurence.java</filename>
<filename>Translator.java</filename>
<filename>MenuHelper.java</filename>
<filename>Messages.java</filename>
<filename>XulMessages.java</filename>
<filename>AnnotatedStepsConfigManager.java</filename>
<filename>AnnotatedJobConfigManager.java</filename>
<filename>AnnotatedRepositoriesConfigManager.java</filename>
<filename>JobEntryValidatorUtils.java</filename>
<filename>Const.java</filename>
<filename>XulHelper.java</filename>
<filename>XulDatabaseExplorerDialog.java</filename>
<filename>XulSpoonResourceBundle.java</filename>
<filename>BasePluginType.java</filename>
<filename>BrowseController.java</filename>
<filename>FileOverwriteDialogController.java</filename>
<filename>BaseStepMeta.java</filename>
</files-to-avoid>
<xml-folders-to-scan>
<xml-folder-to-scan>
<folder>ui</folder>
<wildcard>.*\.xul$</wildcard>
<key-prefix>%</key-prefix>
<package-default>org.pentaho.di.ui.spoon</package-default>
<package-exceptions>
<package-exception>
<starts-with>JobGraph.</starts-with>
<package>org.pentaho.di.ui.spoon.job</package>
</package-exception>
<package-exception>
<starts-with>repository-login-toolbar</starts-with>
<package>org.pentaho.di.ui.repository.dialog</package>
</package-exception>
</package-exceptions>
<elements-to-scan>
<element-to-scan> <element>menu</element> <tag></tag> <attribute>label</attribute> </element-to-scan>
<element-to-scan> <element>menuitem</element> <tag></tag> <attribute>label</attribute> </element-to-scan>
<element-to-scan> <element>toolbar</element> <tag></tag> <attribute>label</attribute> </element-to-scan>
<element-to-scan> <element>toolbar</element> <tag></tag> <attribute>tooltiptext</attribute> </element-to-scan>
<element-to-scan> <element>toolbarbutton</element> <tag></tag> <attribute>label</attribute> </element-to-scan>
<element-to-scan> <element>toolbarbutton</element> <tag></tag> <attribute>tooltiptext</attribute> </element-to-scan>
</elements-to-scan>
</xml-folder-to-scan>
</xml-folders-to-scan>
</translator-config>