editdictionarydialog.ui 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="cui">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkTreeStore" id="liststore1">
  6. <columns>
  7. <!-- column-name text -->
  8. <column type="gchararray"/>
  9. <!-- column-name id -->
  10. <column type="gchararray"/>
  11. </columns>
  12. </object>
  13. <object class="GtkTreeStore" id="liststore2">
  14. <columns>
  15. <!-- column-name text -->
  16. <column type="gchararray"/>
  17. <!-- column-name text2 -->
  18. <column type="gchararray"/>
  19. <!-- column-name id -->
  20. <column type="gchararray"/>
  21. </columns>
  22. </object>
  23. <object class="GtkDialog" id="EditDictionaryDialog">
  24. <property name="can_focus">False</property>
  25. <property name="border_width">6</property>
  26. <property name="title" translatable="yes" context="editdictionarydialog|EditDictionaryDialog">Edit Custom Dictionary</property>
  27. <property name="modal">True</property>
  28. <property name="default_width">0</property>
  29. <property name="default_height">0</property>
  30. <property name="type_hint">dialog</property>
  31. <child internal-child="vbox">
  32. <object class="GtkBox" id="dialog-vbox1">
  33. <property name="can_focus">False</property>
  34. <property name="hexpand">True</property>
  35. <property name="vexpand">True</property>
  36. <property name="orientation">vertical</property>
  37. <property name="spacing">12</property>
  38. <child internal-child="action_area">
  39. <object class="GtkButtonBox" id="dialog-action_area1">
  40. <property name="can_focus">False</property>
  41. <property name="layout_style">end</property>
  42. <child>
  43. <object class="GtkButton" id="help">
  44. <property name="label">gtk-help</property>
  45. <property name="visible">True</property>
  46. <property name="can_focus">True</property>
  47. <property name="can_default">True</property>
  48. <property name="receives_default">True</property>
  49. <property name="use_stock">True</property>
  50. </object>
  51. <packing>
  52. <property name="expand">False</property>
  53. <property name="fill">True</property>
  54. <property name="position">0</property>
  55. </packing>
  56. </child>
  57. <child>
  58. <object class="GtkButton" id="close">
  59. <property name="label">gtk-close</property>
  60. <property name="visible">True</property>
  61. <property name="can_focus">True</property>
  62. <property name="can_default">True</property>
  63. <property name="has_default">True</property>
  64. <property name="receives_default">True</property>
  65. <property name="use_stock">True</property>
  66. </object>
  67. <packing>
  68. <property name="expand">False</property>
  69. <property name="fill">True</property>
  70. <property name="position">1</property>
  71. </packing>
  72. </child>
  73. </object>
  74. <packing>
  75. <property name="expand">False</property>
  76. <property name="fill">True</property>
  77. <property name="pack_type">end</property>
  78. <property name="position">0</property>
  79. </packing>
  80. </child>
  81. <child>
  82. <!-- n-columns=1 n-rows=1 -->
  83. <object class="GtkGrid" id="grid1">
  84. <property name="visible">True</property>
  85. <property name="can_focus">False</property>
  86. <property name="row_spacing">6</property>
  87. <property name="column_spacing">12</property>
  88. <child>
  89. <object class="GtkComboBoxText" id="book">
  90. <property name="visible">True</property>
  91. <property name="can_focus">False</property>
  92. <child internal-child="accessible">
  93. <object class="AtkObject" id="book-atkobject">
  94. <property name="AtkObject::accessible-description" translatable="yes" context="book">Specifies the book to be edited.</property>
  95. </object>
  96. </child>
  97. </object>
  98. <packing>
  99. <property name="left_attach">1</property>
  100. <property name="top_attach">0</property>
  101. </packing>
  102. </child>
  103. <child>
  104. <object class="GtkComboBoxText" id="lang">
  105. <property name="visible">True</property>
  106. <property name="can_focus">False</property>
  107. <child internal-child="accessible">
  108. <object class="AtkObject" id="lang-atkobject">
  109. <property name="AtkObject::accessible-description" translatable="yes" context="lang">Assigns a new language to the current custom dictionary.</property>
  110. </object>
  111. </child>
  112. </object>
  113. <packing>
  114. <property name="left_attach">1</property>
  115. <property name="top_attach">1</property>
  116. </packing>
  117. </child>
  118. <child>
  119. <object class="GtkLabel" id="book_label">
  120. <property name="visible">True</property>
  121. <property name="can_focus">False</property>
  122. <property name="label" translatable="yes" context="editdictionarydialog|book_label">_Book:</property>
  123. <property name="use_underline">True</property>
  124. <property name="mnemonic_widget">book</property>
  125. <property name="xalign">0</property>
  126. </object>
  127. <packing>
  128. <property name="left_attach">0</property>
  129. <property name="top_attach">0</property>
  130. </packing>
  131. </child>
  132. <child>
  133. <object class="GtkLabel" id="lang_label">
  134. <property name="visible">True</property>
  135. <property name="can_focus">False</property>
  136. <property name="label" translatable="yes" context="editdictionarydialog|lang_label">_Language:</property>
  137. <property name="use_underline">True</property>
  138. <property name="mnemonic_widget">lang</property>
  139. </object>
  140. <packing>
  141. <property name="left_attach">0</property>
  142. <property name="top_attach">1</property>
  143. </packing>
  144. </child>
  145. </object>
  146. <packing>
  147. <property name="expand">False</property>
  148. <property name="fill">True</property>
  149. <property name="position">1</property>
  150. </packing>
  151. </child>
  152. <child>
  153. <object class="GtkBox" id="box2">
  154. <property name="visible">True</property>
  155. <property name="can_focus">False</property>
  156. <property name="hexpand">True</property>
  157. <property name="vexpand">True</property>
  158. <property name="spacing">12</property>
  159. <child>
  160. <!-- n-columns=1 n-rows=1 -->
  161. <object class="GtkGrid" id="grid2">
  162. <property name="visible">True</property>
  163. <property name="can_focus">False</property>
  164. <property name="hexpand">True</property>
  165. <property name="vexpand">True</property>
  166. <property name="row_spacing">6</property>
  167. <child>
  168. <!-- n-columns=1 n-rows=1 -->
  169. <object class="GtkGrid" id="grid3">
  170. <property name="visible">True</property>
  171. <property name="can_focus">False</property>
  172. <property name="hexpand">True</property>
  173. <property name="row_spacing">6</property>
  174. <property name="column_spacing">12</property>
  175. <child>
  176. <object class="GtkEntry" id="replace">
  177. <property name="visible">True</property>
  178. <property name="can_focus">True</property>
  179. <property name="hexpand">True</property>
  180. <property name="activates_default">True</property>
  181. <property name="truncate-multiline">True</property>
  182. <child internal-child="accessible">
  183. <object class="AtkObject" id="replace-atkobject">
  184. <property name="AtkObject::accessible-description" translatable="yes" context="replace">This input field is only available if you are editing an exception dictionary or a language-dependent custom dictionary. In exception dictionaries, the field shows the alternative suggestion for the current word in the "Word" text box. In language-dependent custom dictionaries, the field contains a known root word, as a model of affixation of the new word or its usage in compound words. For example, in a German custom dictionary, the new word “Litschi” (lychee) with the model word “Gummi” (gum) will result recognition of “Litschis” (lychees), “Litschibaum” (lychee tree), “Litschifrucht” (lychee fruit) etc.</property>
  185. </object>
  186. </child>
  187. </object>
  188. <packing>
  189. <property name="left_attach">1</property>
  190. <property name="top_attach">1</property>
  191. </packing>
  192. </child>
  193. <child>
  194. <object class="GtkEntry" id="word">
  195. <property name="visible">True</property>
  196. <property name="can_focus">True</property>
  197. <property name="hexpand">True</property>
  198. <property name="activates_default">True</property>
  199. <property name="truncate-multiline">True</property>
  200. <child internal-child="accessible">
  201. <object class="AtkObject" id="word-atkobject">
  202. <property name="AtkObject::accessible-description" translatable="yes" context="word">You can type a new word for inclusion in the dictionary. In the list below you will see the contents of the current custom dictionary.</property>
  203. </object>
  204. </child>
  205. </object>
  206. <packing>
  207. <property name="left_attach">0</property>
  208. <property name="top_attach">1</property>
  209. </packing>
  210. </child>
  211. <child>
  212. <object class="GtkLabel" id="word_label">
  213. <property name="visible">True</property>
  214. <property name="can_focus">False</property>
  215. <property name="label" translatable="yes" context="editdictionarydialog|word_label">_Word</property>
  216. <property name="use_underline">True</property>
  217. <property name="mnemonic_widget">word</property>
  218. <property name="xalign">0</property>
  219. </object>
  220. <packing>
  221. <property name="left_attach">0</property>
  222. <property name="top_attach">0</property>
  223. </packing>
  224. </child>
  225. <child>
  226. <object class="GtkLabel" id="replace_label">
  227. <property name="visible">True</property>
  228. <property name="can_focus">False</property>
  229. <property name="label" translatable="yes" context="editdictionarydialog|replace_label">_Replace By</property>
  230. <property name="use_underline">True</property>
  231. <property name="mnemonic_widget">replace</property>
  232. <property name="xalign">0</property>
  233. </object>
  234. <packing>
  235. <property name="left_attach">1</property>
  236. <property name="top_attach">0</property>
  237. </packing>
  238. </child>
  239. </object>
  240. <packing>
  241. <property name="left_attach">0</property>
  242. <property name="top_attach">0</property>
  243. </packing>
  244. </child>
  245. <child>
  246. <object class="GtkScrolledWindow">
  247. <property name="visible">True</property>
  248. <property name="can_focus">True</property>
  249. <property name="hexpand">True</property>
  250. <property name="vexpand">True</property>
  251. <property name="shadow_type">in</property>
  252. <child>
  253. <object class="GtkTreeView" id="replaces">
  254. <property name="visible">True</property>
  255. <property name="can_focus">True</property>
  256. <property name="receives_default">True</property>
  257. <property name="hexpand">True</property>
  258. <property name="vexpand">True</property>
  259. <property name="model">liststore2</property>
  260. <property name="headers_visible">False</property>
  261. <property name="rules_hint">True</property>
  262. <property name="search_column">0</property>
  263. <property name="show_expanders">False</property>
  264. <child internal-child="selection">
  265. <object class="GtkTreeSelection" id="versions-selection2"/>
  266. </child>
  267. <child>
  268. <object class="GtkTreeViewColumn" id="treeviewcolumn1">
  269. <property name="resizable">True</property>
  270. <property name="spacing">6</property>
  271. <child>
  272. <object class="GtkCellRendererText" id="cellrenderer1"/>
  273. <attributes>
  274. <attribute name="text">0</attribute>
  275. </attributes>
  276. </child>
  277. </object>
  278. </child>
  279. <child>
  280. <object class="GtkTreeViewColumn" id="treeviewcolumn2">
  281. <property name="resizable">True</property>
  282. <property name="spacing">6</property>
  283. <child>
  284. <object class="GtkCellRendererText" id="cellrenderer2"/>
  285. <attributes>
  286. <attribute name="text">1</attribute>
  287. </attributes>
  288. </child>
  289. </object>
  290. </child>
  291. </object>
  292. </child>
  293. </object>
  294. <packing>
  295. <property name="left_attach">0</property>
  296. <property name="top_attach">1</property>
  297. </packing>
  298. </child>
  299. <child>
  300. <object class="GtkScrolledWindow">
  301. <property name="visible">True</property>
  302. <property name="can_focus">True</property>
  303. <property name="hexpand">True</property>
  304. <property name="vexpand">True</property>
  305. <property name="shadow_type">in</property>
  306. <child>
  307. <object class="GtkTreeView" id="words">
  308. <property name="visible">True</property>
  309. <property name="can_focus">True</property>
  310. <property name="receives_default">True</property>
  311. <property name="hexpand">True</property>
  312. <property name="vexpand">True</property>
  313. <property name="model">liststore1</property>
  314. <property name="headers_visible">False</property>
  315. <property name="rules_hint">True</property>
  316. <property name="search_column">0</property>
  317. <property name="show_expanders">False</property>
  318. <child internal-child="selection">
  319. <object class="GtkTreeSelection"/>
  320. </child>
  321. <child>
  322. <object class="GtkTreeViewColumn" id="treeviewcolumn3">
  323. <property name="resizable">True</property>
  324. <property name="spacing">6</property>
  325. <child>
  326. <object class="GtkCellRendererText" id="cellrenderer3"/>
  327. <attributes>
  328. <attribute name="text">0</attribute>
  329. </attributes>
  330. </child>
  331. </object>
  332. </child>
  333. </object>
  334. </child>
  335. </object>
  336. <packing>
  337. <property name="left_attach">0</property>
  338. <property name="top_attach">2</property>
  339. </packing>
  340. </child>
  341. </object>
  342. <packing>
  343. <property name="expand">False</property>
  344. <property name="fill">True</property>
  345. <property name="position">0</property>
  346. </packing>
  347. </child>
  348. <child>
  349. <object class="GtkButtonBox" id="buttonbox1">
  350. <property name="visible">True</property>
  351. <property name="can_focus">False</property>
  352. <property name="margin_top">25</property>
  353. <property name="orientation">vertical</property>
  354. <property name="spacing">6</property>
  355. <property name="layout_style">start</property>
  356. <child>
  357. <object class="GtkButton" id="newreplace">
  358. <property name="label" translatable="yes" context="editdictionarydialog|newreplace">_New</property>
  359. <property name="visible">True</property>
  360. <property name="can_focus">True</property>
  361. <property name="receives_default">True</property>
  362. <property name="use_underline">True</property>
  363. <child internal-child="accessible">
  364. <object class="AtkObject" id="newreplace-atkobject">
  365. <property name="AtkObject::accessible-description" translatable="yes" context="newreplace">Adds the word in the Word text field to your current custom dictionary. The word in the Suggestion field is also added when working with exception dictionaries.</property>
  366. </object>
  367. </child>
  368. </object>
  369. <packing>
  370. <property name="expand">False</property>
  371. <property name="fill">True</property>
  372. <property name="position">0</property>
  373. </packing>
  374. </child>
  375. <child>
  376. <object class="GtkButton" id="delete">
  377. <property name="label" translatable="yes" context="editdictionarydialog|delete">_Delete</property>
  378. <property name="visible">True</property>
  379. <property name="can_focus">True</property>
  380. <property name="receives_default">True</property>
  381. <property name="use_underline">True</property>
  382. <child internal-child="accessible">
  383. <object class="AtkObject" id="delete-atkobject">
  384. <property name="AtkObject::accessible-description" translatable="yes" context="delete">Removes the marked word from the current custom dictionary.</property>
  385. </object>
  386. </child>
  387. </object>
  388. <packing>
  389. <property name="expand">False</property>
  390. <property name="fill">True</property>
  391. <property name="position">1</property>
  392. </packing>
  393. </child>
  394. </object>
  395. <packing>
  396. <property name="expand">False</property>
  397. <property name="fill">True</property>
  398. <property name="position">1</property>
  399. </packing>
  400. </child>
  401. </object>
  402. <packing>
  403. <property name="expand">False</property>
  404. <property name="fill">True</property>
  405. <property name="position">2</property>
  406. </packing>
  407. </child>
  408. </object>
  409. </child>
  410. <action-widgets>
  411. <action-widget response="-11">help</action-widget>
  412. <action-widget response="-7">close</action-widget>
  413. </action-widgets>
  414. <child type="titlebar">
  415. <placeholder/>
  416. </child>
  417. <child internal-child="accessible">
  418. <object class="AtkObject" id="EditDictionaryDialog-atkobject">
  419. <property name="AtkObject::accessible-description" translatable="yes" context="EditDictionaryDialog">In the Edit Custom Dictionary dialog you have the option to enter new terms or edit existing entries.</property>
  420. </object>
  421. </child>
  422. </object>
  423. </interface>