chinesedictionary.ui 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="svx">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkTreeStore" id="liststore2">
  6. <columns>
  7. <!-- column-name text -->
  8. <column type="gchararray"/>
  9. <!-- column-name text2 -->
  10. <column type="gchararray"/>
  11. <!-- column-name text3 -->
  12. <column type="gchararray"/>
  13. <!-- column-name id -->
  14. <column type="gchararray"/>
  15. </columns>
  16. </object>
  17. <object class="GtkTreeStore" id="liststore3">
  18. <columns>
  19. <!-- column-name text -->
  20. <column type="gchararray"/>
  21. <!-- column-name text2 -->
  22. <column type="gchararray"/>
  23. <!-- column-name text3 -->
  24. <column type="gchararray"/>
  25. <!-- column-name id -->
  26. <column type="gchararray"/>
  27. </columns>
  28. </object>
  29. <object class="GtkDialog" id="ChineseDictionaryDialog">
  30. <property name="can_focus">False</property>
  31. <property name="border_width">6</property>
  32. <property name="title" translatable="yes" context="chinesedictionary|ChineseDictionaryDialog">Edit Dictionary</property>
  33. <property name="modal">True</property>
  34. <property name="default_width">0</property>
  35. <property name="default_height">0</property>
  36. <property name="type_hint">dialog</property>
  37. <child internal-child="vbox">
  38. <object class="GtkBox" id="dialog-vbox1">
  39. <property name="can_focus">False</property>
  40. <property name="orientation">vertical</property>
  41. <property name="spacing">12</property>
  42. <child internal-child="action_area">
  43. <object class="GtkButtonBox" id="dialog-action_area1">
  44. <property name="can_focus">False</property>
  45. <property name="layout_style">end</property>
  46. <child>
  47. <object class="GtkButton" id="ok">
  48. <property name="label">gtk-ok</property>
  49. <property name="visible">True</property>
  50. <property name="can_focus">True</property>
  51. <property name="can_default">True</property>
  52. <property name="has_default">True</property>
  53. <property name="receives_default">True</property>
  54. <property name="use_stock">True</property>
  55. </object>
  56. <packing>
  57. <property name="expand">False</property>
  58. <property name="fill">True</property>
  59. <property name="position">0</property>
  60. </packing>
  61. </child>
  62. <child>
  63. <object class="GtkButton" id="cancel">
  64. <property name="label">gtk-cancel</property>
  65. <property name="visible">True</property>
  66. <property name="can_focus">True</property>
  67. <property name="receives_default">True</property>
  68. <property name="use_stock">True</property>
  69. </object>
  70. <packing>
  71. <property name="expand">False</property>
  72. <property name="fill">True</property>
  73. <property name="position">1</property>
  74. </packing>
  75. </child>
  76. <child>
  77. <object class="GtkButton" id="help">
  78. <property name="label">gtk-help</property>
  79. <property name="visible">True</property>
  80. <property name="can_focus">True</property>
  81. <property name="receives_default">True</property>
  82. <property name="use_stock">True</property>
  83. </object>
  84. <packing>
  85. <property name="expand">False</property>
  86. <property name="fill">True</property>
  87. <property name="position">2</property>
  88. <property name="secondary">True</property>
  89. </packing>
  90. </child>
  91. </object>
  92. <packing>
  93. <property name="expand">False</property>
  94. <property name="fill">True</property>
  95. <property name="pack_type">end</property>
  96. <property name="position">0</property>
  97. </packing>
  98. </child>
  99. <child>
  100. <!-- n-columns=1 n-rows=1 -->
  101. <object class="GtkGrid" id="grid1">
  102. <property name="visible">True</property>
  103. <property name="can_focus">False</property>
  104. <property name="hexpand">True</property>
  105. <property name="vexpand">True</property>
  106. <property name="row_spacing">12</property>
  107. <child>
  108. <!-- n-columns=1 n-rows=1 -->
  109. <object class="GtkGrid" id="grid2">
  110. <property name="visible">True</property>
  111. <property name="can_focus">False</property>
  112. <property name="row_spacing">6</property>
  113. <child>
  114. <object class="GtkRadioButton" id="tradtosimple">
  115. <property name="label" translatable="yes" context="chinesedictionary|tradtosimple">_Traditional Chinese to simplified Chinese</property>
  116. <property name="visible">True</property>
  117. <property name="can_focus">True</property>
  118. <property name="receives_default">False</property>
  119. <property name="use_underline">True</property>
  120. <property name="xalign">0</property>
  121. <property name="active">True</property>
  122. <property name="draw_indicator">True</property>
  123. <property name="group">simpletotrad</property>
  124. <child internal-child="accessible">
  125. <object class="AtkObject" id="tradtosimple-atkobject">
  126. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|tradtosimple">Converts traditional Chinese to simplified Chinese.</property>
  127. </object>
  128. </child>
  129. </object>
  130. <packing>
  131. <property name="left_attach">0</property>
  132. <property name="top_attach">0</property>
  133. </packing>
  134. </child>
  135. <child>
  136. <object class="GtkRadioButton" id="simpletotrad">
  137. <property name="label" translatable="yes" context="chinesedictionary|simpletotrad">_Simplified Chinese to traditional Chinese</property>
  138. <property name="visible">True</property>
  139. <property name="can_focus">True</property>
  140. <property name="receives_default">False</property>
  141. <property name="use_underline">True</property>
  142. <property name="xalign">0</property>
  143. <property name="draw_indicator">True</property>
  144. <property name="group">tradtosimple</property>
  145. <child internal-child="accessible">
  146. <object class="AtkObject" id="simpletotrad-atkobject">
  147. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|simpletotrad">Converts simplified Chinese to traditional Chinese.</property>
  148. </object>
  149. </child>
  150. </object>
  151. <packing>
  152. <property name="left_attach">0</property>
  153. <property name="top_attach">1</property>
  154. </packing>
  155. </child>
  156. <child>
  157. <object class="GtkCheckButton" id="reverse">
  158. <property name="label" translatable="yes" context="chinesedictionary|reverse">Reverse mapping</property>
  159. <property name="visible">True</property>
  160. <property name="can_focus">True</property>
  161. <property name="receives_default">False</property>
  162. <property name="use_underline">True</property>
  163. <property name="xalign">0</property>
  164. <property name="draw_indicator">True</property>
  165. <child internal-child="accessible">
  166. <object class="AtkObject" id="reverse-atkobject">
  167. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|reverse">Automatically adds the reverse mapping direction to the list for each modification that you enter.</property>
  168. </object>
  169. </child>
  170. </object>
  171. <packing>
  172. <property name="left_attach">0</property>
  173. <property name="top_attach">2</property>
  174. </packing>
  175. </child>
  176. </object>
  177. <packing>
  178. <property name="left_attach">0</property>
  179. <property name="top_attach">0</property>
  180. </packing>
  181. </child>
  182. <child>
  183. <!-- n-columns=1 n-rows=1 -->
  184. <object class="GtkGrid" id="grid5">
  185. <property name="visible">True</property>
  186. <property name="can_focus">False</property>
  187. <property name="hexpand">True</property>
  188. <property name="vexpand">True</property>
  189. <property name="row_spacing">6</property>
  190. <property name="column_spacing">12</property>
  191. <child>
  192. <object class="GtkLabel" id="termft">
  193. <property name="visible">True</property>
  194. <property name="can_focus">False</property>
  195. <property name="label" translatable="yes" context="chinesedictionary|termft">Term</property>
  196. <property name="use_underline">True</property>
  197. <property name="mnemonic_widget">term</property>
  198. <property name="xalign">0</property>
  199. </object>
  200. <packing>
  201. <property name="left_attach">0</property>
  202. <property name="top_attach">0</property>
  203. </packing>
  204. </child>
  205. <child>
  206. <object class="GtkLabel" id="mappingft">
  207. <property name="visible">True</property>
  208. <property name="can_focus">False</property>
  209. <property name="label" translatable="yes" context="chinesedictionary|mappingft">Mapping</property>
  210. <property name="use_underline">True</property>
  211. <property name="mnemonic_widget">mapping</property>
  212. <property name="xalign">0</property>
  213. </object>
  214. <packing>
  215. <property name="left_attach">1</property>
  216. <property name="top_attach">0</property>
  217. </packing>
  218. </child>
  219. <child>
  220. <object class="GtkButtonBox" id="buttonbox1">
  221. <property name="visible">True</property>
  222. <property name="can_focus">False</property>
  223. <property name="orientation">vertical</property>
  224. <property name="spacing">6</property>
  225. <property name="layout_style">start</property>
  226. <child>
  227. <object class="GtkButton" id="add">
  228. <property name="label">gtk-add</property>
  229. <property name="visible">True</property>
  230. <property name="can_focus">True</property>
  231. <property name="receives_default">True</property>
  232. <property name="use_stock">True</property>
  233. <child internal-child="accessible">
  234. <object class="AtkObject" id="add-atkobject">
  235. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|add">Adds the term to the conversion dictionary. If the term is already in the dictionary, the new term receives precedence.</property>
  236. </object>
  237. </child>
  238. </object>
  239. <packing>
  240. <property name="expand">False</property>
  241. <property name="fill">True</property>
  242. <property name="position">0</property>
  243. </packing>
  244. </child>
  245. <child>
  246. <object class="GtkButton" id="modify">
  247. <property name="label" translatable="yes" context="chinesedictionary|modify">_Modify</property>
  248. <property name="visible">True</property>
  249. <property name="can_focus">True</property>
  250. <property name="receives_default">True</property>
  251. <property name="use_underline">True</property>
  252. <child internal-child="accessible">
  253. <object class="AtkObject" id="modify-atkobject">
  254. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|modify">Saves the modified entry to the database file.</property>
  255. </object>
  256. </child>
  257. </object>
  258. <packing>
  259. <property name="expand">False</property>
  260. <property name="fill">True</property>
  261. <property name="position">1</property>
  262. </packing>
  263. </child>
  264. <child>
  265. <object class="GtkButton" id="delete">
  266. <property name="label">gtk-delete</property>
  267. <property name="visible">True</property>
  268. <property name="can_focus">True</property>
  269. <property name="receives_default">True</property>
  270. <property name="use_stock">True</property>
  271. <child internal-child="accessible">
  272. <object class="AtkObject" id="delete-atkobject">
  273. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|delete">Removes the selected user-defined entry from the dictionary.</property>
  274. </object>
  275. </child>
  276. </object>
  277. <packing>
  278. <property name="expand">False</property>
  279. <property name="fill">True</property>
  280. <property name="position">2</property>
  281. </packing>
  282. </child>
  283. </object>
  284. <packing>
  285. <property name="left_attach">3</property>
  286. <property name="top_attach">1</property>
  287. <property name="height">2</property>
  288. </packing>
  289. </child>
  290. <child>
  291. <object class="GtkLabel" id="propertyft">
  292. <property name="visible">True</property>
  293. <property name="can_focus">False</property>
  294. <property name="label" translatable="yes" context="chinesedictionary|propertyft">Property</property>
  295. <property name="use_underline">True</property>
  296. <property name="mnemonic_widget">property</property>
  297. <property name="xalign">0</property>
  298. </object>
  299. <packing>
  300. <property name="left_attach">2</property>
  301. <property name="top_attach">0</property>
  302. </packing>
  303. </child>
  304. <child>
  305. <object class="GtkComboBoxText" id="property">
  306. <property name="visible">True</property>
  307. <property name="can_focus">False</property>
  308. <items>
  309. <item translatable="yes" context="chinesedictionary|property">Other</item>
  310. <item translatable="yes" context="chinesedictionary|property">Foreign</item>
  311. <item translatable="yes" context="chinesedictionary|property">First name</item>
  312. <item translatable="yes" context="chinesedictionary|property">Last name</item>
  313. <item translatable="yes" context="chinesedictionary|property">Title</item>
  314. <item translatable="yes" context="chinesedictionary|property">Status</item>
  315. <item translatable="yes" context="chinesedictionary|property">Place name</item>
  316. <item translatable="yes" context="chinesedictionary|property">Business</item>
  317. <item translatable="yes" context="chinesedictionary|property">Adjective</item>
  318. <item translatable="yes" context="chinesedictionary|property">Idiom</item>
  319. <item translatable="yes" context="chinesedictionary|property">Abbreviation</item>
  320. <item translatable="yes" context="chinesedictionary|property">Numerical</item>
  321. <item translatable="yes" context="chinesedictionary|property">Noun</item>
  322. <item translatable="yes" context="chinesedictionary|property">Verb</item>
  323. <item translatable="yes" context="chinesedictionary|property">Brand name</item>
  324. </items>
  325. <child internal-child="accessible">
  326. <object class="AtkObject" id="property-atkobject">
  327. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|property">Defines the class of the selected term.</property>
  328. </object>
  329. </child>
  330. </object>
  331. <packing>
  332. <property name="left_attach">2</property>
  333. <property name="top_attach">1</property>
  334. </packing>
  335. </child>
  336. <child>
  337. <object class="GtkEntry" id="mapping">
  338. <property name="visible">True</property>
  339. <property name="can_focus">True</property>
  340. <property name="hexpand">True</property>
  341. <property name="activates_default">True</property>
  342. <property name="truncate-multiline">True</property>
  343. <child internal-child="accessible">
  344. <object class="AtkObject" id="mapping-atkobject">
  345. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|mapping">Enter the text that you want to replace the Term with.</property>
  346. </object>
  347. </child>
  348. </object>
  349. <packing>
  350. <property name="left_attach">1</property>
  351. <property name="top_attach">1</property>
  352. </packing>
  353. </child>
  354. <child>
  355. <object class="GtkEntry" id="term">
  356. <property name="visible">True</property>
  357. <property name="can_focus">True</property>
  358. <property name="hexpand">True</property>
  359. <property name="activates_default">True</property>
  360. <property name="truncate-multiline">True</property>
  361. <child internal-child="accessible">
  362. <object class="AtkObject" id="term-atkobject">
  363. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|term">Enter the text that you want to replace with the Mapping term.</property>
  364. </object>
  365. </child>
  366. </object>
  367. <packing>
  368. <property name="left_attach">0</property>
  369. <property name="top_attach">1</property>
  370. </packing>
  371. </child>
  372. <child>
  373. <object class="GtkBox">
  374. <property name="visible">True</property>
  375. <property name="can_focus">False</property>
  376. <property name="orientation">vertical</property>
  377. <child>
  378. <object class="GtkScrolledWindow">
  379. <property name="visible">True</property>
  380. <property name="can_focus">True</property>
  381. <property name="hexpand">True</property>
  382. <property name="vexpand">True</property>
  383. <property name="shadow_type">in</property>
  384. <child>
  385. <object class="GtkTreeView" id="tradtosimpleview">
  386. <property name="visible">True</property>
  387. <property name="can_focus">True</property>
  388. <property name="receives_default">True</property>
  389. <property name="hexpand">True</property>
  390. <property name="vexpand">True</property>
  391. <property name="model">liststore3</property>
  392. <property name="search_column">0</property>
  393. <property name="show_expanders">False</property>
  394. <child internal-child="selection">
  395. <object class="GtkTreeSelection"/>
  396. </child>
  397. <child>
  398. <object class="GtkTreeViewColumn" id="treeviewcolumn3">
  399. <property name="resizable">True</property>
  400. <property name="spacing">6</property>
  401. <property name="title" translatable="yes" context="chinesedictionary|termft">Term</property>
  402. <property name="clickable">True</property>
  403. <property name="sort_indicator">True</property>
  404. <child>
  405. <object class="GtkCellRendererText" id="cellrenderer1"/>
  406. <attributes>
  407. <attribute name="text">0</attribute>
  408. </attributes>
  409. </child>
  410. </object>
  411. </child>
  412. <child>
  413. <object class="GtkTreeViewColumn" id="treeviewcolumn4">
  414. <property name="resizable">True</property>
  415. <property name="spacing">6</property>
  416. <property name="title" translatable="yes" context="chinesedictionary|mappingft">Mapping</property>
  417. <property name="clickable">True</property>
  418. <child>
  419. <object class="GtkCellRendererText" id="cellrenderer2"/>
  420. <attributes>
  421. <attribute name="text">1</attribute>
  422. </attributes>
  423. </child>
  424. </object>
  425. </child>
  426. <child>
  427. <object class="GtkTreeViewColumn" id="treeviewcolumn5">
  428. <property name="resizable">True</property>
  429. <property name="spacing">6</property>
  430. <property name="title" translatable="yes" context="chinesedictionary|propertyft">Property</property>
  431. <property name="clickable">True</property>
  432. <child>
  433. <object class="GtkCellRendererText" id="cellrenderer3"/>
  434. <attributes>
  435. <attribute name="text">2</attribute>
  436. </attributes>
  437. </child>
  438. </object>
  439. </child>
  440. </object>
  441. </child>
  442. </object>
  443. <packing>
  444. <property name="expand">False</property>
  445. <property name="fill">True</property>
  446. <property name="position">0</property>
  447. </packing>
  448. </child>
  449. <child>
  450. <object class="GtkScrolledWindow">
  451. <property name="can_focus">True</property>
  452. <property name="no_show_all">True</property>
  453. <property name="hexpand">True</property>
  454. <property name="vexpand">True</property>
  455. <property name="shadow_type">in</property>
  456. <child>
  457. <object class="GtkTreeView" id="simpletotradview">
  458. <property name="can_focus">True</property>
  459. <property name="receives_default">True</property>
  460. <property name="no_show_all">True</property>
  461. <property name="hexpand">True</property>
  462. <property name="vexpand">True</property>
  463. <property name="model">liststore2</property>
  464. <property name="search_column">0</property>
  465. <property name="show_expanders">False</property>
  466. <child internal-child="selection">
  467. <object class="GtkTreeSelection"/>
  468. </child>
  469. <child>
  470. <object class="GtkTreeViewColumn" id="treeviewcolumn33">
  471. <property name="resizable">True</property>
  472. <property name="spacing">6</property>
  473. <property name="title" translatable="yes" context="chinesedictionary|termft">Term</property>
  474. <property name="reorderable">True</property>
  475. <property name="sort_indicator">True</property>
  476. <child>
  477. <object class="GtkCellRendererText" id="cellrenderer11"/>
  478. <attributes>
  479. <attribute name="text">0</attribute>
  480. </attributes>
  481. </child>
  482. </object>
  483. </child>
  484. <child>
  485. <object class="GtkTreeViewColumn" id="treeviewcolumn44">
  486. <property name="resizable">True</property>
  487. <property name="spacing">6</property>
  488. <property name="title" translatable="yes" context="chinesedictionary|mappingft">Mapping</property>
  489. <property name="clickable">True</property>
  490. <child>
  491. <object class="GtkCellRendererText" id="cellrenderer22"/>
  492. <attributes>
  493. <attribute name="text">1</attribute>
  494. </attributes>
  495. </child>
  496. </object>
  497. </child>
  498. <child>
  499. <object class="GtkTreeViewColumn" id="treeviewcolumn55">
  500. <property name="resizable">True</property>
  501. <property name="spacing">6</property>
  502. <property name="title" translatable="yes" context="chinesedictionary|propertyft">Property</property>
  503. <property name="clickable">True</property>
  504. <child>
  505. <object class="GtkCellRendererText" id="cellrenderer33"/>
  506. <attributes>
  507. <attribute name="text">2</attribute>
  508. </attributes>
  509. </child>
  510. </object>
  511. </child>
  512. </object>
  513. </child>
  514. </object>
  515. <packing>
  516. <property name="expand">False</property>
  517. <property name="fill">True</property>
  518. <property name="position">1</property>
  519. </packing>
  520. </child>
  521. </object>
  522. <packing>
  523. <property name="left_attach">0</property>
  524. <property name="top_attach">2</property>
  525. <property name="width">3</property>
  526. </packing>
  527. </child>
  528. <child>
  529. <placeholder/>
  530. </child>
  531. </object>
  532. <packing>
  533. <property name="left_attach">0</property>
  534. <property name="top_attach">1</property>
  535. </packing>
  536. </child>
  537. </object>
  538. <packing>
  539. <property name="expand">False</property>
  540. <property name="fill">True</property>
  541. <property name="position">1</property>
  542. </packing>
  543. </child>
  544. </object>
  545. </child>
  546. <action-widgets>
  547. <action-widget response="-5">ok</action-widget>
  548. <action-widget response="-6">cancel</action-widget>
  549. <action-widget response="-11">help</action-widget>
  550. </action-widgets>
  551. <child type="titlebar">
  552. <placeholder/>
  553. </child>
  554. <child internal-child="accessible">
  555. <object class="AtkObject" id="ChineseDictionaryDialog-atkobject">
  556. <property name="AtkObject::accessible-description" translatable="yes" context="chinesedictionary|extended_tip|ChineseDictionaryDialog">Edit the Chinese conversion terms.</property>
  557. </object>
  558. </child>
  559. </object>
  560. <object class="GtkSizeGroup" id="sizegroup1">
  561. <property name="mode">both</property>
  562. <widgets>
  563. <widget name="tradtosimpleview"/>
  564. <widget name="simpletotradview"/>
  565. </widgets>
  566. </object>
  567. <object class="GtkSizeGroup" id="sizegroup2">
  568. <widgets>
  569. <widget name="termft"/>
  570. <widget name="term"/>
  571. </widgets>
  572. </object>
  573. <object class="GtkSizeGroup" id="sizegroup3">
  574. <widgets>
  575. <widget name="mappingft"/>
  576. <widget name="mapping"/>
  577. </widgets>
  578. </object>
  579. <object class="GtkSizeGroup" id="sizegroup4">
  580. <widgets>
  581. <widget name="propertyft"/>
  582. <widget name="property"/>
  583. </widgets>
  584. </object>
  585. </interface>