ydpdict.patch 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. --- src/ydpdict.c 2013-01-08 00:14:03.000000000 +0100
  2. +++ src/ydpdict.c 2015-04-02 04:17:47.722162971 +0200
  3. @@ -118,71 +118,71 @@
  4. const char *qualifiers[][2] =
  5. {
  6. - { "abbr", N_("abbreviation") },
  7. - { "acc", N_("accusative") },
  8. - { "adj", N_("adjective") },
  9. - { "adv", N_("adverb") },
  10. - { "art", N_("article") },
  11. - { "attr", N_("attribute") },
  12. - { "aux", N_("auxiliary") },
  13. - { "comp", N_("comparative degree") },
  14. - { "compl.", N_("complement") },
  15. - { "conj", N_("conjunction") },
  16. - { "cpd", N_("compound") },
  17. - { "dat", N_("dative") },
  18. - { "def", N_("definite") },
  19. - { "decl", N_("declined") },
  20. - { "dimin", N_("diminutive") },
  21. - { "excl", N_("exclamation") },
  22. - { "f", N_("feminine") },
  23. - { "fig", N_("figurative") },
  24. - { "fml", N_("formal") },
  25. - { "fus", N_("fused") },
  26. - { "gen", N_("genitive") },
  27. - { "imp", N_("imperfective") },
  28. - { "imperf", N_("imperfective") },
  29. - { "impers", N_("impersonal") },
  30. - { "indef", N_("indefinite") },
  31. - { "inf", N_("informal") },
  32. - { "infin", N_("infinitive") },
  33. - { "instr", N_("instrumental") },
  34. - { "inv", N_("invariable") },
  35. - { "irreg", N_("irregular") },
  36. - { "ksi", N_("literary") },
  37. - { "liter.", N_("literary") },
  38. - { "loc", N_("locative") },
  39. - { "m", N_("masculine") },
  40. - { "modal", N_("modal") },
  41. - { "n", N_("noun") },
  42. - { "nom", N_("nominative") },
  43. - { "npl", N_("noun plural") },
  44. - { "nt", N_("neuter") },
  45. - { "num", N_("numeral") },
  46. - { "nvir", N_("non-virile gender") },
  47. - { "old", N_("old") },
  48. - { "part", N_("particle") },
  49. - { "pej", N_("pejorative") },
  50. - { "perf", N_("perfective") },
  51. - { "pl", N_("plural") },
  52. - { "polite", N_("polite") },
  53. - { "poss.", N_("possesive") },
  54. - { "post", N_("postposition") },
  55. - { "pot", N_("informal") },
  56. - { "pp", N_("past participle") },
  57. - { "pref", N_("prefix") },
  58. - { "pred", N_("predicate") },
  59. - { "prep", N_("preposition") },
  60. - { "pron", N_("pronoun") },
  61. - { "pt", N_("past simple") },
  62. - { "sg", N_("singular") },
  63. - { "suff", N_("suffix") },
  64. - { "superl", N_("superlative degree") },
  65. - { "vb", N_("verb") },
  66. - { "vi", N_("intransitive verb") },
  67. - { "vir", N_("virile gender") },
  68. - { "voc", N_("vocative") },
  69. - { "vr", N_("reflexive verb") },
  70. - { "vt", N_("transitive verb") },
  71. + { "abbr", N_(" abbreviation (skrót)") },
  72. + { "acc", N_(" accusative (biernik)") },
  73. + { "adj", N_(" adjective (przymiotnik)") },
  74. + { "adv", N_(" adverb (przysłówek)") },
  75. + { "art", N_(" article (przedimek)") },
  76. + { "attr", N_(" attribute (przydawka)") },
  77. + { "aux", N_(" auxiliary (posiłkowy)") },
  78. + { "comp", N_(" comparative degree (stopień wyższy)") },
  79. + { "compl.", N_("complement (dopełnienie)") },
  80. + { "conj", N_(" conjunction (spójnik)") },
  81. + { "cpd", N_(" compound (złożony)") },
  82. + { "dat", N_(" dative (celownik)") },
  83. + { "def", N_(" definite (określony)") },
  84. + { "decl", N_(" declined (odmieniany)") },
  85. + { "dimin", N_(" diminutive (zdrobnienie)") },
  86. + { "excl", N_(" exclamation (wykrzyknik)") },
  87. + { "f", N_(" feminine (rodzaj żeński)") },
  88. + { "fig", N_(" figurative (przenośny)") },
  89. + { "fml", N_(" formal (oficjalny)") },
  90. + { "fus", N_(" fused (złożony)") },
  91. + { "gen", N_(" genitive (dopełniacz)") },
  92. + { "imp", N_(" imperfective (niedokonany)") },
  93. + { "imperf", N_("imperfective (niedokonany)") },
  94. + { "impers", N_("impersonal (bezosobowy)") },
  95. + { "indef", N_(" indefinite (nieokreślony)") },
  96. + { "inf", N_(" informal (potoczny)") },
  97. + { "infin", N_(" infinitive (bezokolicznik)") },
  98. + { "instr", N_(" instrumental (narzędnik)") },
  99. + { "inv", N_(" invariable (nieodmienny)") },
  100. + { "irreg", N_(" irregular (nieregularny)") },
  101. + { "ksi", N_(" literary (książkowy)") },
  102. + { "liter.", N_("literary (książkowy)") },
  103. + { "loc", N_(" locative (miejscownik)") },
  104. + { "m", N_(" masculine (rodzaj męski)") },
  105. + { "modal", N_(" modal (modalny)") },
  106. + { "n", N_(" noun (rzeczownik)") },
  107. + { "nom", N_(" nominative (mianownik)") },
  108. + { "npl", N_(" noun plural (rzeczownik mnogi)") },
  109. + { "nt", N_(" neuter (rodzaj nijaki)") },
  110. + { "num", N_(" numeral (liczebnik)") },
  111. + { "nvir", N_(" non-virile gender (rodzaj niemęskoosobowy)") },
  112. + { "old", N_(" old (dawny)") },
  113. + { "part", N_(" particle (partykuła)") },
  114. + { "pej", N_(" pejorative (pejoratywny)") },
  115. + { "perf", N_(" perfective (dokonany)") },
  116. + { "pl", N_(" plural (liczba mnoga)") },
  117. + { "polite", N_("polite (uprzejmy)") },
  118. + { "poss.", N_(" possessive (dzierżawczy)") },
  119. + { "post", N_(" postposition (postpozycja)") },
  120. + { "pot", N_(" informal (potoczny)") },
  121. + { "pp", N_(" past participle (imiesłów bierny)") },
  122. + { "pref", N_(" prefix (przedrostek)") },
  123. + { "pred", N_(" predicate (orzeczenie)") },
  124. + { "prep", N_(" preposition (przyimek)") },
  125. + { "pron", N_(" pronoun (zaimek)") },
  126. + { "pt", N_(" past simple (czas przeszły prosty)") },
  127. + { "sg", N_(" singular (liczba pojedyncza)") },
  128. + { "suff", N_(" suffix (przyrostek)") },
  129. + { "superl", N_("superlative degree (stopień najwyższy)") },
  130. + { "vb", N_(" verb (czasownik)") },
  131. + { "vi", N_(" intransitive verb (czsownik nieprzechodni)") },
  132. + { "vir", N_(" virile gender (rodzaj męskoosobowy)") },
  133. + { "voc", N_(" vocative (wołacz)") },
  134. + { "vr", N_(" reflexive verb (czasownik zwrotny)") },
  135. + { "vt", N_(" transitive verb (czasownik przechodni)") },
  136. };
  137. const char *qualifiers_format = "{\\line{\\cf2 %s} {%s}}";
  138. @@ -986,9 +986,9 @@
  139. case 27: /* ESC */
  140. if (focus == 2) {
  141. - focus = saved_focus;
  142. + focus = 0;
  143. def_update = 1;
  144. - def_index = def_saved_index;
  145. + def_index = 0;
  146. } else if (focus == 1) {
  147. focus = 0;
  148. } else {