[go: up one dir, main page]

File: setup.ui

package info (click to toggle)
ibus-cangjie 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 540 kB
  • sloc: python: 2,125; xml: 210; sh: 35; makefile: 8
file content (378 lines) | stat: -rw-r--r-- 16,529 bytes parent folder | download
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2012-2024 - The IBus Cangjie authors

    This file is part of ibus-cangjie, the IBus Cangjie input method engine.

    ibus-cangjie is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    ibus-cangjie is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with ibus-cangjie.  If not, see <http://www.gnu.org/licenses/>.
-->
<interface>
  <requires lib="gtk" version="4.6"/>
  <object class="GtkApplicationWindow" id="setup_dialog">
    <property name="resizable">0</property>
    <property name="accessible-role">dialog</property>
    <property name="icon-name">applications-system</property>
    <property name="modal">True</property>
    <property name="show-menubar">True</property>
    <property name="titlebar">
      <object class="GtkHeaderBar" id="header">
        <child type="start">
          <object class="GtkButton" id="about-button">
            <property name="icon-name">help-about</property>
            <property
              name="tooltip-text"
              translatable="yes"
            >About IBus Cangjie</property>
          </object>
        </child>
      </object>
    </property>
    <child>
      <object class="GtkBox">
        <property name="orientation">vertical</property>
        <property name="margin-top">20</property>
        <property name="margin-bottom">20</property>
        <property name="margin-start">20</property>
        <property name="margin-end">20</property>
        <property name="spacing">10</property>
        <child>
          <object class="GtkBox">
            <property
              name="tooltip-text"
              translatable="yes"
            >We support Cangjie version 3 and 5. Version 3 is commonly used in old Windows system. Version 5 is supported by macOS and newer Windows systems.</property>
            <child>
              <object class="GtkLabel">
                <property name="margin-end">20</property>
                <property
                  name="label"
                  translatable="yes"
                  comments="We support versions 3 and 5 of Cangjie, this option lets users choose the one they prefer using."
                >Input Method Version</property>
              </object>
            </child>
            <child>
              <object class="GtkDropDown" id="version">
                <property name="model">
                  <object class="GtkStringList">
                    <items>
                      <item
                        translatable="yes"
                        comments="We support versions 3 and 5 of Cangjie. Most people will think version 3 is the 'standard' one as it is the one used on Windows"
                      >Standard (Version 3)</item>
                      <item
                        translatable="yes"
                        comments="We support versions 3 and 5 of Cangjie. Version 5 is the newer, supposedly better version, but most people use version 3."
                      >Updated (Version 5)</item>
                    </items>
                  </object>
                </property>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
          </object>
        </child>
        <child>
          <object class="GtkText" id="title-user-interface">
            <property name="text" translatable="yes">Controls and Interface</property>
            <property name="xalign">0</property>
            <style>
                <class name="subtitle"/>
            </style>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="input-mode-hotkey-shift">
            <property name="valign">start</property>
            <property
              name="tooltip-text"
              translatable="yes"
            >When enabled, you may quickly tab on the SHIFT key to toggle between Chinese input mode and the Direct (English / Number) input mode.</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>
                <property name="margin-start">10</property>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                    >Input Mode Hotkey</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                      comments="Describe the SHIFT hotkey feature"
                    >Enable using SHIFT key to toggle the input mode (Chinese mode / Direct mode)</property>
                    <attributes>
                      <attribute name="foreground" value="#88888a8a8484"/>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="star-helps-learners">
            <property name="valign">start</property>
            <property
              name="tooltip-text"
              translatable="yes"
            >When typing with wildcard, show complete radicals of the candidate characters when typing.</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>
                <property name="margin-start">10</property>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                    >Learner assists for wildcard candidates</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                      comments="Describe the SHIFT hotkey feature"
                    >When enabled and when typing with wildcard (*), you will see the radicals of candidates after the actual character.</property>
                    <attributes>
                      <attribute name="foreground" value="#88888a8a8484"/>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkSeparator">
          </object>
        </child>
        <child>
          <object class="GtkText" id="title-character-support">
            <property name="text" translatable="yes">Extended character support</property>
            <property name="xalign">0</property>
            <style>
                <class name="subtitle"/>
            </style>
        </object>
        </child>
        <child>
          <object class="GtkLabel" id="label2">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <property name="xalign">0</property>
            <property name="margin-top">10</property>
            <property name="margin-bottom">5</property>
            <property
              name="label"
              translatable="yes"
              comments="This is just some text to explain what the other options do."
            >Only characters common in Hong Kong can be inputted by default.
The following additional characters can be enabled:</property>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="include-zhuyin">
            <property
              name="tooltip-text"
              translatable="yes"
            >Taiwan phonetic symbols of Mandarin Chinese</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>
                <property name="margin-start">10</property>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                      comments="The Taiwanese Zhuyin alphabet is known under two names in English. Obviously, if it only has one name in your language, don't try to keep two alternative names here."
                    >Zhuyin / Bopomofo</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                      comments="This string includes a list of examples. Do not translate the characters themselves, only translate it so it looks like a list of examples in your own language, but keep these characters as examples."
                    >Eg. ㄅ, ㄆ, ㄇ, ㄈ</property>
                    <attributes>
                      <attribute name="foreground" value="#88888a8a8484"/>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="include-jp">
            <property
              name="tooltip-text"
              translatable="yes"
            >Hiragana, Katakana, and characters that only exist in Kanji</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>
                <property name="margin-start">10</property>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                    >Japanese</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                      comments="This string includes a list of examples. Do not translate the characters themselves, only translate it so it looks like a list of examples in your own language, but keep these characters as examples."
                    >Eg. あ, ア, 鉄</property>
                    <attributes>
                      <attribute name="foreground" value="#88888a8a8484"/>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="include-allzh">
            <property name="valign">start</property>
            <property
              name="tooltip-text"
              translatable="yes"
            >Chinese characters that are rarely used or only exists in Simplifed Chinese</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>
                <property name="margin-start">10</property>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                      comments="If they enable this option, we will return to the users some rarer Chinese characters which they most likely don't need, in addition to the ones we return by default. It should be clear that most users don't need to enable this option."
                    >Rare Chinese characters</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                      comments="This string includes a list of examples. Do not translate the characters themselves, only translate it so it looks like a list of examples in your own language, but keep these characters as examples."
                    >Eg. 诉, 䜣, 㻹</property>
                    <attributes>
                      <attribute name="foreground" value="#88888a8a8484"/>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkCheckButton" id="include-symbols">
            <property name="valign">start</property>
            <property
              name="tooltip-text"
              translatable="yes"
            >Various obscured symbols like arrows, numbers with bracket and etc.</property>
            <child>
              <object class="GtkBox">
                <property name="orientation">vertical</property>
                <property name="spacing">4</property>
                <property name="margin-start">10</property>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                    >Symbols</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel">
                    <property name="halign">start</property>
                    <property
                      name="label"
                      translatable="yes"
                      comments="This is a list of examples. Do not translate the characters themselves, only translate it so it looks like a list of examples in your own language, but keep these characters as examples."
                    >Eg. ○, ㈤, →</property>
                    <attributes>
                      <attribute name="foreground" value="#88888a8a8484"/>
                    </attributes>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
        <child>
          <object class="GtkBox">
            <property name="halign">end</property>
            <property name="margin-top">8</property>
            <child>
              <object class="GtkButton" id="close-button">
                <property
                  name="label"
                  translatable="yes"
                >Close</property>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </object>
  <object class="AdwAboutDialog" id="about_dialog">
    <property name="application_name" translatable="yes">IBus Cangjie</property>
    <property name="developer_name" translatable="yes">IBus Cangjie developers</property>
    <property name="website">https://cangjie.pages.freedesktop.org/</property>
    <property name="issue_url">https://gitlab.freedesktop.org/cangjie/ibus-cangjie/-/issues</property>
    <property name="copyright" translatable="yes">© 2012 IBus Cangjie Developers</property>
  </object>
</interface>