diff -ur /home/dmartin/git/mc.git/src/editor/spell.c editor/spell.c
old
|
new
|
|
97 | 97 | } spell_codes_map[] = |
98 | 98 | { |
99 | 99 | /* *INDENT-OFF* */ |
100 | | {"br", "Breton"}, |
101 | | {"cs", "Czech"}, |
102 | | {"cy", "Welsh"}, |
103 | | {"da", "Danish"}, |
104 | | {"de", "German"}, |
105 | | {"el", "Greek"}, |
106 | | {"en", "English"}, |
107 | | {"en_GB", "British English"}, |
108 | | {"en_CA", "Canadian English"}, |
109 | | {"en_US", "American English"}, |
110 | | {"eo", "Esperanto"}, |
111 | | {"es", "Spanish"}, |
112 | | {"fo", "Faroese"}, |
113 | | {"fr", "French"}, |
114 | | {"it", "Italian"}, |
115 | | {"nl", "Dutch"}, |
116 | | {"no", "Norwegian"}, |
117 | | {"pl", "Polish"}, |
118 | | {"pt", "Portuguese"}, |
119 | | {"ro", "Romanian"}, |
120 | | {"ru", "Russian"}, |
121 | | {"sk", "Slovak"}, |
122 | | {"sv", "Swedish"}, |
123 | | {"uk", "Ukrainian"}, |
| 100 | {"br", N_("Breton")}, |
| 101 | {"cs", N_("Czech")}, |
| 102 | {"cy", N_("Welsh")}, |
| 103 | {"da", N_("Danish")}, |
| 104 | {"de", N_("German")}, |
| 105 | {"el", N_("Greek")}, |
| 106 | {"en", N_("English")}, |
| 107 | {"en_GB", N_("British English")}, |
| 108 | {"en_CA", N_("Canadian English")}, |
| 109 | {"en_US", N_("American English")}, |
| 110 | {"eo", N_("Esperanto")}, |
| 111 | {"es", N_("Spanish")}, |
| 112 | {"fo", N_("Faroese")}, |
| 113 | {"fr", N_("French")}, |
| 114 | {"it", N_("Italian")}, |
| 115 | {"nl", N_("Dutch")}, |
| 116 | {"no", N_("Norwegian")}, |
| 117 | {"pl", N_("Polish")}, |
| 118 | {"pt", N_("Portuguese")}, |
| 119 | {"ro", N_("Romanian")}, |
| 120 | {"ru", N_("Russian")}, |
| 121 | {"sk", N_("Slovak")}, |
| 122 | {"sv", N_("Swedish")}, |
| 123 | {"uk", N_("Ukrainian")}, |
124 | 124 | {NULL, NULL} |
125 | 125 | /* *INDENT-ON* */ |
126 | 126 | }; |
… |
… |
|
142 | 142 | for (i = 0; spell_codes_map[i].code != NULL; i++) |
143 | 143 | { |
144 | 144 | if (strcmp (spell_codes_map[i].code, code) == 0) |
145 | | return spell_codes_map[i].name; |
| 145 | return _(spell_codes_map[i].name); |
146 | 146 | } |
147 | 147 | |
148 | 148 | return code; |