New upstream version 0.2.7+git20220410
Boyuan Yang
1 year, 11 months ago
0 | 0 | # SOME DESCRIPTIVE TITLE. |
1 | 1 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 | 2 | # This file is distributed under the same license as the PACKAGE package. |
3 | # | |
3 | # | |
4 | 4 | # Translators: |
5 | # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2017-2018 | |
5 | 6 | # Walter Garcia-Fontes <walter.garcia@upf.edu>, 2017 |
6 | 7 | msgid "" |
7 | 8 | msgstr "" |
8 | 9 | "Project-Id-Version: fcitx\n" |
9 | 10 | "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n" |
10 | "POT-Creation-Date: 2016-09-17 12:02-0700\n" | |
11 | "PO-Revision-Date: 2017-01-08 11:24+0000\n" | |
12 | "Last-Translator: Walter Garcia-Fontes <walter.garcia@upf.edu>\n" | |
11 | "POT-Creation-Date: 2019-11-03 12:28-0800\n" | |
12 | "PO-Revision-Date: 2018-06-13 07:04+0000\n" | |
13 | "Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>\n" | |
13 | 14 | "Language-Team: Catalan (http://www.transifex.com/fcitx/fcitx/language/ca/)\n" |
15 | "Language: ca\n" | |
14 | 16 | "MIME-Version: 1.0\n" |
15 | 17 | "Content-Type: text/plain; charset=UTF-8\n" |
16 | 18 | "Content-Transfer-Encoding: 8bit\n" |
17 | "Language: ca\n" | |
18 | 19 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" |
19 | 20 | |
20 | 21 | #: macro-editor/editor.cpp:41 |
25 | 26 | msgid "&Delete" |
26 | 27 | msgstr "Eli&mina" |
27 | 28 | |
28 | #: macro-editor/editor.cpp:43 | |
29 | msgid "De&lete All" | |
30 | msgstr "E&linina tot" | |
29 | #: macro-editor/editor.cpp:45 | |
30 | msgid "&Export" | |
31 | msgstr "&Exporta" | |
31 | 32 | |
32 | 33 | #: macro-editor/editor.cpp:44 |
33 | 34 | msgid "&Import" |
34 | 35 | msgstr "&Importa" |
35 | 36 | |
36 | #: macro-editor/editor.cpp:45 | |
37 | msgid "&Export" | |
38 | msgstr "&Exporta" | |
37 | #: src/fcitx-unikey.desc:46 | |
38 | msgid "Allow type with more freedom" | |
39 | msgstr "Permet escriure amb més llibertat" | |
39 | 40 | |
40 | #: macro-editor/editor.cpp:48 macro-editor/editor.cpp:76 | |
41 | msgid "Unikey Macro Editor" | |
42 | msgstr "Editor de macro unikey" | |
41 | #: src/fcitx-unikey.desc:51 | |
42 | msgid "Auto restore keys with invalid words" | |
43 | msgstr "Restaura automàticament les tecles amb paraules no vàlides" | |
43 | 44 | |
44 | #: macro-editor/model.cpp:44 src/unikey-ui.cpp:127 src/unikey-ui.cpp:187 | |
45 | #: src/fcitx-unikey.conf.in:10 | |
46 | msgid "Macro" | |
47 | msgstr "Macro" | |
45 | #: src/fcitx-unikey.desc:23 | |
46 | msgid "BK HCM 2" | |
47 | msgstr "BK HCM 2" | |
48 | 48 | |
49 | #: macro-editor/model.cpp:46 | |
50 | msgid "Word" | |
51 | msgstr "Paraula" | |
52 | ||
53 | #: src/unikey-im.cpp:116 src/fcitx-unikey.conf.in:3 src/unikey.conf.in:3 | |
54 | #: src/fcitx-unikey.desc:1 src/fcitx-unikey.desc:14 src/fcitx-unikey.desc:28 | |
55 | #: src/fcitx-unikey.desc:33 src/fcitx-unikey.desc:38 src/fcitx-unikey.desc:43 | |
56 | #: src/fcitx-unikey.desc:48 src/fcitx-unikey.desc:53 | |
57 | msgid "Unikey" | |
58 | msgstr "Unikey" | |
49 | #: src/fcitx-unikey.desc:24 | |
50 | msgid "CString" | |
51 | msgstr "CString" | |
59 | 52 | |
60 | 53 | #: src/unikey-ui.cpp:105 src/unikey-ui.cpp:172 |
61 | 54 | msgid "Choose input method" |
65 | 58 | msgid "Choose output charset" |
66 | 59 | msgstr "Escolliu el conjunt de caràcters de sortida" |
67 | 60 | |
68 | #: src/unikey-ui.cpp:119 src/unikey-ui.cpp:182 | |
69 | msgid "Spell Check" | |
70 | msgstr "Verificació ortogràfica" | |
61 | #: macro-editor/editor.cpp:43 | |
62 | msgid "De&lete All" | |
63 | msgstr "E&linina tot" | |
64 | ||
65 | #: src/unikey-ui.cpp:128 | |
66 | msgid "Enable Macro" | |
67 | msgstr "Habilita la macro" | |
71 | 68 | |
72 | 69 | #: src/unikey-ui.cpp:120 |
73 | 70 | msgid "Enable Spell Check" |
74 | msgstr "Habilita la verificació ortogràfica" | |
71 | msgstr "Habilita el corrector ortogràfic" | |
75 | 72 | |
76 | #: src/unikey-ui.cpp:128 | |
77 | msgid "Enable Macro" | |
78 | msgstr "Activa el macro" | |
73 | #: src/fcitx-unikey.desc:36 | |
74 | msgid "Enable macro" | |
75 | msgstr "Habilita la macro" | |
79 | 76 | |
80 | #: src/unikey-ui.cpp:142 | |
81 | msgid "Unikey Input Method" | |
82 | msgstr "Mètode d'entrada unikey" | |
77 | #: src/fcitx-unikey.desc:31 | |
78 | msgid "Enable spell check" | |
79 | msgstr "Habilita el corrector ortogràfic" | |
80 | ||
81 | #: src/fcitx-unikey.desc:4 | |
82 | msgid "Input Method" | |
83 | msgstr "Mètode d'entrada" | |
84 | ||
85 | #: macro-editor/model.cpp:44 src/unikey-ui.cpp:127 src/unikey-ui.cpp:187 | |
86 | #: src/fcitx-unikey.conf.in:10 | |
87 | msgid "Macro" | |
88 | msgstr "Macro" | |
89 | ||
90 | #: src/fcitx-unikey.desc:9 | |
91 | msgid "Microsoft Vietnamese" | |
92 | msgstr "Vietnamita Microsoft" | |
93 | ||
94 | #: src/fcitx-unikey.desc:25 | |
95 | msgid "NCR Decimal" | |
96 | msgstr "NCR Decimal" | |
97 | ||
98 | #: src/fcitx-unikey.desc:26 | |
99 | msgid "NCR Hex" | |
100 | msgstr "NCR Hex" | |
101 | ||
102 | #: src/unikey-ui.cpp:187 | |
103 | msgid "No Macro" | |
104 | msgstr "Cap macro" | |
105 | ||
106 | #: src/unikey-ui.cpp:182 | |
107 | msgid "No Spell Check" | |
108 | msgstr "Cap corrector ortogràfic" | |
83 | 109 | |
84 | 110 | #: src/unikey-ui.cpp:156 src/fcitx-unikey.desc:17 |
85 | 111 | msgid "Output Charset" |
86 | 112 | msgstr "Conjunt de caràcters de sortida" |
87 | 113 | |
88 | #: src/unikey-ui.cpp:182 | |
89 | msgid "No Spell Check" | |
90 | msgstr "Cap verificació ortogràfica" | |
91 | ||
92 | #: src/unikey-ui.cpp:183 | |
93 | msgid "Toggle Spell Check" | |
94 | msgstr "Commuta la verificació ortogràfica" | |
95 | ||
96 | #: src/unikey-ui.cpp:187 | |
97 | msgid "No Macro" | |
98 | msgstr "Cap macro" | |
99 | ||
100 | #: src/unikey-ui.cpp:188 | |
101 | msgid "Toggle Macro" | |
102 | msgstr "Commuta el macro" | |
103 | ||
104 | #: src/fcitx-unikey.conf.in:4 | |
105 | msgid "Unikey Wrapper For Fcitx" | |
106 | msgstr "Contenidor unikey per al fcitx" | |
107 | ||
108 | #: src/fcitx-unikey.desc:4 | |
109 | msgid "Input Method" | |
110 | msgstr "Mètode d'entrada" | |
111 | ||
112 | #: src/fcitx-unikey.desc:6 | |
113 | msgid "Telex" | |
114 | msgstr "Telex" | |
115 | ||
116 | #: src/fcitx-unikey.desc:7 | |
117 | msgid "VNI" | |
118 | msgstr "VNI" | |
119 | ||
120 | #: src/fcitx-unikey.desc:8 src/fcitx-unikey.desc:22 | |
121 | msgid "VIQR" | |
122 | msgstr "VIQR" | |
123 | ||
124 | #: src/fcitx-unikey.desc:9 | |
125 | msgid "Microsoft Vietnamese" | |
126 | msgstr "Vietnamita Microsoft" | |
127 | ||
128 | #: src/fcitx-unikey.desc:10 | |
129 | msgid "UserIM" | |
130 | msgstr "Mètode d'entrada de l'usuari" | |
114 | #: src/fcitx-unikey.desc:56 | |
115 | msgid "Process W at word begin" | |
116 | msgstr "Processa W a l'inici de paraula" | |
131 | 117 | |
132 | 118 | #: src/fcitx-unikey.desc:11 |
133 | 119 | msgid "Simple Telex" |
137 | 123 | msgid "Simple Telex2" |
138 | 124 | msgstr "Telex2 simple" |
139 | 125 | |
140 | #: src/fcitx-unikey.desc:19 | |
141 | msgid "Unicode" | |
142 | msgstr "Unicode" | |
126 | #: src/unikey-ui.cpp:119 src/unikey-ui.cpp:182 | |
127 | msgid "Spell Check" | |
128 | msgstr "Corrector ortogràfic" | |
143 | 129 | |
144 | 130 | #: src/fcitx-unikey.desc:20 |
145 | 131 | msgid "TCVN3" |
146 | 132 | msgstr "TCVN3" |
147 | 133 | |
134 | #: src/fcitx-unikey.desc:6 | |
135 | msgid "Telex" | |
136 | msgstr "Telex" | |
137 | ||
138 | #: src/unikey-ui.cpp:188 | |
139 | msgid "Toggle Macro" | |
140 | msgstr "Commuta la macro" | |
141 | ||
142 | #: src/unikey-ui.cpp:183 | |
143 | msgid "Toggle Spell Check" | |
144 | msgstr "Commuta el corrector ortogràfic" | |
145 | ||
146 | #: src/fcitx-unikey.desc:19 | |
147 | msgid "Unicode" | |
148 | msgstr "Unicode" | |
149 | ||
150 | #: src/unikey-im.cpp:116 src/fcitx-unikey.conf.in:3 src/unikey.conf.in:3 | |
151 | #: src/fcitx-unikey.desc:1 src/fcitx-unikey.desc:14 src/fcitx-unikey.desc:28 | |
152 | #: src/fcitx-unikey.desc:33 src/fcitx-unikey.desc:38 src/fcitx-unikey.desc:43 | |
153 | #: src/fcitx-unikey.desc:48 src/fcitx-unikey.desc:53 | |
154 | msgid "Unikey" | |
155 | msgstr "Unikey" | |
156 | ||
157 | #: src/unikey-ui.cpp:142 | |
158 | msgid "Unikey Input Method" | |
159 | msgstr "Mètode d'entrada unikey" | |
160 | ||
161 | #: macro-editor/editor.cpp:48 macro-editor/editor.cpp:76 | |
162 | msgid "Unikey Macro Editor" | |
163 | msgstr "Editor de macros unikey" | |
164 | ||
165 | #: src/fcitx-unikey.conf.in:4 | |
166 | msgid "Unikey Wrapper For Fcitx" | |
167 | msgstr "Contenidor unikey per a fcitx" | |
168 | ||
169 | #: src/fcitx-unikey.desc:41 | |
170 | msgid "Use oà, _uý (instead of òa, úy)" | |
171 | msgstr "Utilitza oà, _uý (en comptes de òa, úy)" | |
172 | ||
173 | #: src/fcitx-unikey.desc:10 | |
174 | msgid "UserIM" | |
175 | msgstr "Mètode d'entrada de l'usuari" | |
176 | ||
177 | #: src/fcitx-unikey.desc:8 src/fcitx-unikey.desc:22 | |
178 | msgid "VIQR" | |
179 | msgstr "VIQR" | |
180 | ||
181 | #: src/fcitx-unikey.desc:7 | |
182 | msgid "VNI" | |
183 | msgstr "VNI" | |
184 | ||
148 | 185 | #: src/fcitx-unikey.desc:21 |
149 | 186 | msgid "VNI Win" |
150 | 187 | msgstr "VNI Win" |
151 | 188 | |
152 | #: src/fcitx-unikey.desc:23 | |
153 | msgid "BK HCM 2" | |
154 | msgstr "BK HCM 2" | |
155 | ||
156 | #: src/fcitx-unikey.desc:24 | |
157 | msgid "CString" | |
158 | msgstr "CString" | |
159 | ||
160 | #: src/fcitx-unikey.desc:25 | |
161 | msgid "NCR Decimal" | |
162 | msgstr "NCR Decimal" | |
163 | ||
164 | #: src/fcitx-unikey.desc:26 | |
165 | msgid "NCR Hex" | |
166 | msgstr "NCR Hex" | |
167 | ||
168 | #: src/fcitx-unikey.desc:31 | |
169 | msgid "Enable spell check" | |
170 | msgstr "Habilita la verificació ortogràfica" | |
171 | ||
172 | #: src/fcitx-unikey.desc:36 | |
173 | msgid "Enable macro" | |
174 | msgstr "Habilita el macro" | |
175 | ||
176 | #: src/fcitx-unikey.desc:41 | |
177 | msgid "Use oà, _uý (instead of òa, úy)" | |
178 | msgstr "Usa oà, _uý (en comptes de òa, úy)" | |
179 | ||
180 | #: src/fcitx-unikey.desc:46 | |
181 | msgid "Allow type with more freedom" | |
182 | msgstr "Permet el tipus a més llibertat" | |
183 | ||
184 | #: src/fcitx-unikey.desc:51 | |
185 | msgid "Auto restore keys with invalid words" | |
186 | msgstr "Restaura automàticament les tecles amb paraules no vàlides" | |
187 | ||
188 | #: src/fcitx-unikey.desc:56 | |
189 | msgid "Process W at word begin" | |
190 | msgstr "Processa W a l'inici de paraula" | |
189 | #: macro-editor/model.cpp:46 | |
190 | msgid "Word" | |
191 | msgstr "Paraula" |
3 | 3 | # |
4 | 4 | # Translators: |
5 | 5 | # shirou - しろう <shirou.faw@gmail.com>, 2013 |
6 | # ABE Tsunehiko, 2017 | |
7 | # ABE Tsunehiko, 2017 | |
8 | # shirou - しろう <shirou.faw@gmail.com>, 2013 | |
9 | # Takuro Onoue <kusanaginoturugi@gmail.com>, 2020 | |
10 | # UTUMI Hirosi <utuhiro78@yahoo.co.jp>, 2021 | |
6 | 11 | # shirou - しろう <shirou.faw@gmail.com>, 2013 |
7 | 12 | msgid "" |
8 | 13 | msgstr "" |
9 | 14 | "Project-Id-Version: fcitx\n" |
10 | 15 | "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n" |
11 | "POT-Creation-Date: 2016-09-17 13:02-0700\n" | |
12 | "PO-Revision-Date: 2016-09-17 19:03+0000\n" | |
13 | "Last-Translator: csslayer <wengxt@gmail.com>\n" | |
16 | "POT-Creation-Date: 2021-11-20 15:09+0000\n" | |
17 | "PO-Revision-Date: 2021-11-20 07:44+0000\n" | |
18 | "Last-Translator: UTUMI Hirosi <utuhiro78@yahoo.co.jp>\n" | |
14 | 19 | "Language-Team: Japanese (http://www.transifex.com/fcitx/fcitx/language/ja/)\n" |
15 | 20 | "Language: ja\n" |
16 | 21 | "MIME-Version: 1.0\n" |
36 | 41 | |
37 | 42 | #: src/fcitx-unikey.desc:46 |
38 | 43 | msgid "Allow type with more freedom" |
39 | msgstr "" | |
44 | msgstr "より自由なタイプを許可する" | |
40 | 45 | |
41 | 46 | #: src/fcitx-unikey.desc:51 |
42 | 47 | msgid "Auto restore keys with invalid words" |
43 | msgstr "" | |
48 | msgstr "無効な単語を含むキーの自動復元" | |
44 | 49 | |
45 | 50 | #: src/fcitx-unikey.desc:23 |
46 | 51 | msgid "BK HCM 2" |
47 | msgstr "" | |
52 | msgstr "BK HCM 2" | |
48 | 53 | |
49 | 54 | #: src/fcitx-unikey.desc:24 |
50 | 55 | msgid "CString" |
51 | msgstr "" | |
56 | msgstr "CString" | |
52 | 57 | |
53 | 58 | #: src/unikey-ui.cpp:105 src/unikey-ui.cpp:172 |
54 | 59 | msgid "Choose input method" |
89 | 94 | |
90 | 95 | #: src/fcitx-unikey.desc:9 |
91 | 96 | msgid "Microsoft Vietnamese" |
92 | msgstr "" | |
97 | msgstr "Microsoft ベトナム語" | |
93 | 98 | |
94 | 99 | #: src/fcitx-unikey.desc:25 |
95 | 100 | msgid "NCR Decimal" |
96 | msgstr "" | |
101 | msgstr "NCR Decimal" | |
97 | 102 | |
98 | 103 | #: src/fcitx-unikey.desc:26 |
99 | 104 | msgid "NCR Hex" |
100 | msgstr "" | |
105 | msgstr "NCR Hex" | |
101 | 106 | |
102 | 107 | #: src/unikey-ui.cpp:187 |
103 | 108 | msgid "No Macro" |
113 | 118 | |
114 | 119 | #: src/fcitx-unikey.desc:56 |
115 | 120 | msgid "Process W at word begin" |
116 | msgstr "" | |
121 | msgstr "単語の先頭で W を処理する" | |
117 | 122 | |
118 | 123 | #: src/fcitx-unikey.desc:11 |
119 | 124 | msgid "Simple Telex" |
120 | msgstr "" | |
125 | msgstr "シンプルTelex" | |
121 | 126 | |
122 | 127 | #: src/fcitx-unikey.desc:12 |
123 | 128 | msgid "Simple Telex2" |
124 | msgstr "" | |
129 | msgstr "シンプルTelex2" | |
125 | 130 | |
126 | 131 | #: src/unikey-ui.cpp:119 src/unikey-ui.cpp:182 |
127 | 132 | msgid "Spell Check" |
129 | 134 | |
130 | 135 | #: src/fcitx-unikey.desc:20 |
131 | 136 | msgid "TCVN3" |
132 | msgstr "" | |
137 | msgstr "TCVN3" | |
133 | 138 | |
134 | 139 | #: src/fcitx-unikey.desc:6 |
135 | 140 | msgid "Telex" |
136 | msgstr "" | |
141 | msgstr "Telex" | |
137 | 142 | |
138 | 143 | #: src/unikey-ui.cpp:188 |
139 | 144 | msgid "Toggle Macro" |
140 | msgstr "" | |
145 | msgstr "マクロの状態を切り替える" | |
141 | 146 | |
142 | 147 | #: src/unikey-ui.cpp:183 |
143 | 148 | msgid "Toggle Spell Check" |
144 | msgstr "" | |
149 | msgstr "スペルチェックの状態を切り替える" | |
145 | 150 | |
146 | 151 | #: src/fcitx-unikey.desc:19 |
147 | 152 | msgid "Unicode" |
148 | 153 | msgstr "Unicode" |
149 | 154 | |
150 | #: src/unikey-im.cpp:116 src/fcitx-unikey.conf.in:3 src/unikey.conf.in:3 | |
155 | #: src/unikey-im.cpp:158 src/fcitx-unikey.conf.in:3 src/unikey.conf.in:3 | |
151 | 156 | #: src/fcitx-unikey.desc:1 src/fcitx-unikey.desc:14 src/fcitx-unikey.desc:28 |
152 | 157 | #: src/fcitx-unikey.desc:33 src/fcitx-unikey.desc:38 src/fcitx-unikey.desc:43 |
153 | 158 | #: src/fcitx-unikey.desc:48 src/fcitx-unikey.desc:53 |
172 | 177 | |
173 | 178 | #: src/fcitx-unikey.desc:10 |
174 | 179 | msgid "UserIM" |
175 | msgstr "" | |
180 | msgstr "ユーザーIM" | |
176 | 181 | |
177 | 182 | #: src/fcitx-unikey.desc:8 src/fcitx-unikey.desc:22 |
178 | 183 | msgid "VIQR" |
179 | msgstr "" | |
184 | msgstr "VIQR" | |
180 | 185 | |
181 | 186 | #: src/fcitx-unikey.desc:7 |
182 | 187 | msgid "VNI" |
183 | msgstr "" | |
188 | msgstr "VNI" | |
184 | 189 | |
185 | 190 | #: src/fcitx-unikey.desc:21 |
186 | 191 | msgid "VNI Win" |
187 | msgstr "" | |
192 | msgstr "VNI Win" | |
188 | 193 | |
189 | 194 | #: macro-editor/model.cpp:46 |
190 | 195 | msgid "Word" |
0 | 0 | # SOME DESCRIPTIVE TITLE. |
1 | 1 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
2 | 2 | # This file is distributed under the same license as the PACKAGE package. |
3 | # | |
3 | # | |
4 | 4 | # Translators: |
5 | 5 | # Bon Keun Seo <scobyseo@gmail.com>, 2017 |
6 | # Junghee Lee <daemul72@gmail.com>, 2020 | |
7 | # Junghee Lee <daemul72@gmail.com>, 2022 | |
8 | # Junghee Lee <daemul72@gmail.com>, 2022 | |
9 | # Junghee Lee <daemul72@gmail.com>, 2020 | |
6 | 10 | msgid "" |
7 | 11 | msgstr "" |
8 | 12 | "Project-Id-Version: fcitx\n" |
9 | 13 | "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n" |
10 | "POT-Creation-Date: 2016-09-17 12:02-0700\n" | |
11 | "PO-Revision-Date: 2017-07-15 12:41+0000\n" | |
12 | "Last-Translator: Bon Keun Seo <scobyseo@gmail.com>\n" | |
14 | "POT-Creation-Date: 2022-04-10 20:28+0000\n" | |
15 | "PO-Revision-Date: 2012-05-05 08:41+0000\n" | |
16 | "Last-Translator: Junghee Lee <daemul72@gmail.com>, 2022\n" | |
13 | 17 | "Language-Team: Korean (http://www.transifex.com/fcitx/fcitx/language/ko/)\n" |
18 | "Language: ko\n" | |
14 | 19 | "MIME-Version: 1.0\n" |
15 | 20 | "Content-Type: text/plain; charset=UTF-8\n" |
16 | 21 | "Content-Transfer-Encoding: 8bit\n" |
17 | "Language: ko\n" | |
18 | 22 | "Plural-Forms: nplurals=1; plural=0;\n" |
19 | 23 | |
20 | 24 | #: macro-editor/editor.cpp:41 |
23 | 27 | |
24 | 28 | #: macro-editor/editor.cpp:42 |
25 | 29 | msgid "&Delete" |
26 | msgstr "지우기(&D)" | |
30 | msgstr "삭제(&D)" | |
27 | 31 | |
28 | #: macro-editor/editor.cpp:43 | |
29 | msgid "De&lete All" | |
30 | msgstr "모두 지우기(&l)" | |
32 | #: macro-editor/editor.cpp:45 | |
33 | msgid "&Export" | |
34 | msgstr "내보내기(&E)" | |
31 | 35 | |
32 | 36 | #: macro-editor/editor.cpp:44 |
33 | 37 | msgid "&Import" |
34 | 38 | msgstr "가져오기(&I)" |
35 | 39 | |
36 | #: macro-editor/editor.cpp:45 | |
37 | msgid "&Export" | |
38 | msgstr "내보내기(&E)" | |
40 | #: src/fcitx-unikey.desc:46 | |
41 | msgid "Allow type with more freedom" | |
42 | msgstr "더 자유로운 입력 허용" | |
39 | 43 | |
40 | #: macro-editor/editor.cpp:48 macro-editor/editor.cpp:76 | |
41 | msgid "Unikey Macro Editor" | |
42 | msgstr "유니키 매크로 편집기" | |
44 | #: src/fcitx-unikey.desc:51 | |
45 | msgid "Auto restore keys with invalid words" | |
46 | msgstr "유효하지 않은 단어에 자동 복구 키 사용" | |
43 | 47 | |
44 | #: macro-editor/model.cpp:44 src/unikey-ui.cpp:127 src/unikey-ui.cpp:187 | |
45 | #: src/fcitx-unikey.conf.in:10 | |
46 | msgid "Macro" | |
47 | msgstr "매크로" | |
48 | #: src/fcitx-unikey.desc:23 | |
49 | msgid "BK HCM 2" | |
50 | msgstr "BK HCM 2" | |
48 | 51 | |
49 | #: macro-editor/model.cpp:46 | |
50 | msgid "Word" | |
51 | msgstr "단어" | |
52 | ||
53 | #: src/unikey-im.cpp:116 src/fcitx-unikey.conf.in:3 src/unikey.conf.in:3 | |
54 | #: src/fcitx-unikey.desc:1 src/fcitx-unikey.desc:14 src/fcitx-unikey.desc:28 | |
55 | #: src/fcitx-unikey.desc:33 src/fcitx-unikey.desc:38 src/fcitx-unikey.desc:43 | |
56 | #: src/fcitx-unikey.desc:48 src/fcitx-unikey.desc:53 | |
57 | msgid "Unikey" | |
58 | msgstr "유니키" | |
52 | #: src/fcitx-unikey.desc:24 | |
53 | msgid "CString" | |
54 | msgstr "CString" | |
59 | 55 | |
60 | 56 | #: src/unikey-ui.cpp:105 src/unikey-ui.cpp:172 |
61 | 57 | msgid "Choose input method" |
65 | 61 | msgid "Choose output charset" |
66 | 62 | msgstr "출력 문자셋 선택" |
67 | 63 | |
68 | #: src/unikey-ui.cpp:119 src/unikey-ui.cpp:182 | |
69 | msgid "Spell Check" | |
70 | msgstr "철자 검사" | |
64 | #: macro-editor/editor.cpp:43 | |
65 | msgid "De&lete All" | |
66 | msgstr "모두 지우기(&L)" | |
67 | ||
68 | #: src/unikey-ui.cpp:128 | |
69 | msgid "Enable Macro" | |
70 | msgstr "매크로 활성화" | |
71 | 71 | |
72 | 72 | #: src/unikey-ui.cpp:120 |
73 | 73 | msgid "Enable Spell Check" |
74 | 74 | msgstr "철자 검사 활성화" |
75 | 75 | |
76 | #: src/unikey-ui.cpp:128 | |
77 | msgid "Enable Macro" | |
76 | #: src/fcitx-unikey.desc:36 | |
77 | msgid "Enable macro" | |
78 | 78 | msgstr "매크로 활성화" |
79 | 79 | |
80 | #: src/unikey-ui.cpp:142 | |
81 | msgid "Unikey Input Method" | |
82 | msgstr "유니키 입력기" | |
83 | ||
84 | #: src/unikey-ui.cpp:156 src/fcitx-unikey.desc:17 | |
85 | msgid "Output Charset" | |
86 | msgstr "출력 문자셋" | |
87 | ||
88 | #: src/unikey-ui.cpp:182 | |
89 | msgid "No Spell Check" | |
90 | msgstr "철자 검사 안함" | |
91 | ||
92 | #: src/unikey-ui.cpp:183 | |
93 | msgid "Toggle Spell Check" | |
94 | msgstr "철자 검사 전환" | |
95 | ||
96 | #: src/unikey-ui.cpp:187 | |
97 | msgid "No Macro" | |
98 | msgstr "매크로 사용 안함" | |
99 | ||
100 | #: src/unikey-ui.cpp:188 | |
101 | msgid "Toggle Macro" | |
102 | msgstr "매크로 전환" | |
103 | ||
104 | #: src/fcitx-unikey.conf.in:4 | |
105 | msgid "Unikey Wrapper For Fcitx" | |
106 | msgstr "Fcitx 유니키 입력기" | |
80 | #: src/fcitx-unikey.desc:31 | |
81 | msgid "Enable spell check" | |
82 | msgstr "철자 검사 활성화" | |
107 | 83 | |
108 | 84 | #: src/fcitx-unikey.desc:4 |
109 | 85 | msgid "Input Method" |
110 | 86 | msgstr "입력기" |
111 | 87 | |
112 | #: src/fcitx-unikey.desc:6 | |
113 | msgid "Telex" | |
114 | msgstr "텔렉스" | |
115 | ||
116 | #: src/fcitx-unikey.desc:7 | |
117 | msgid "VNI" | |
118 | msgstr "VNI" | |
119 | ||
120 | #: src/fcitx-unikey.desc:8 src/fcitx-unikey.desc:22 | |
121 | msgid "VIQR" | |
122 | msgstr "VIQR" | |
88 | #: macro-editor/model.cpp:44 src/unikey-ui.cpp:127 src/unikey-ui.cpp:187 | |
89 | #: src/fcitx-unikey.conf.in:10 | |
90 | msgid "Macro" | |
91 | msgstr "매크로" | |
123 | 92 | |
124 | 93 | #: src/fcitx-unikey.desc:9 |
125 | 94 | msgid "Microsoft Vietnamese" |
126 | 95 | msgstr "마이크로소트프 베트남어" |
127 | ||
128 | #: src/fcitx-unikey.desc:10 | |
129 | msgid "UserIM" | |
130 | msgstr "사용자IM" | |
131 | ||
132 | #: src/fcitx-unikey.desc:11 | |
133 | msgid "Simple Telex" | |
134 | msgstr "간단한 텔렉스" | |
135 | ||
136 | #: src/fcitx-unikey.desc:12 | |
137 | msgid "Simple Telex2" | |
138 | msgstr "간단한 텔렉스2" | |
139 | ||
140 | #: src/fcitx-unikey.desc:19 | |
141 | msgid "Unicode" | |
142 | msgstr "유니코드" | |
143 | ||
144 | #: src/fcitx-unikey.desc:20 | |
145 | msgid "TCVN3" | |
146 | msgstr "TCVN3" | |
147 | ||
148 | #: src/fcitx-unikey.desc:21 | |
149 | msgid "VNI Win" | |
150 | msgstr "VNI Win" | |
151 | ||
152 | #: src/fcitx-unikey.desc:23 | |
153 | msgid "BK HCM 2" | |
154 | msgstr "BK HCM 2" | |
155 | ||
156 | #: src/fcitx-unikey.desc:24 | |
157 | msgid "CString" | |
158 | msgstr "CString" | |
159 | 96 | |
160 | 97 | #: src/fcitx-unikey.desc:25 |
161 | 98 | msgid "NCR Decimal" |
165 | 102 | msgid "NCR Hex" |
166 | 103 | msgstr "NCR 16진수" |
167 | 104 | |
168 | #: src/fcitx-unikey.desc:31 | |
169 | msgid "Enable spell check" | |
170 | msgstr "철자 검사 활성화" | |
105 | #: src/unikey-ui.cpp:187 | |
106 | msgid "No Macro" | |
107 | msgstr "매크로 사용 안함" | |
171 | 108 | |
172 | #: src/fcitx-unikey.desc:36 | |
173 | msgid "Enable macro" | |
174 | msgstr "매크로 활성화" | |
109 | #: src/unikey-ui.cpp:182 | |
110 | msgid "No Spell Check" | |
111 | msgstr "철자 검사 안함" | |
112 | ||
113 | #: src/unikey-ui.cpp:156 src/fcitx-unikey.desc:17 | |
114 | msgid "Output Charset" | |
115 | msgstr "출력 문자셋" | |
116 | ||
117 | #: src/fcitx-unikey.desc:56 | |
118 | msgid "Process W at word begin" | |
119 | msgstr "단어 시작 시 W 처리" | |
120 | ||
121 | #: src/fcitx-unikey.desc:11 | |
122 | msgid "Simple Telex" | |
123 | msgstr "Simple Telex" | |
124 | ||
125 | #: src/fcitx-unikey.desc:12 | |
126 | msgid "Simple Telex2" | |
127 | msgstr "Simple Telex2" | |
128 | ||
129 | #: src/unikey-ui.cpp:119 src/unikey-ui.cpp:182 | |
130 | msgid "Spell Check" | |
131 | msgstr "철자 검사" | |
132 | ||
133 | #: src/fcitx-unikey.desc:20 | |
134 | msgid "TCVN3" | |
135 | msgstr "TCVN3" | |
136 | ||
137 | #: src/fcitx-unikey.desc:6 | |
138 | msgid "Telex" | |
139 | msgstr "텔렉스" | |
140 | ||
141 | #: src/unikey-ui.cpp:188 | |
142 | msgid "Toggle Macro" | |
143 | msgstr "매크로 전환" | |
144 | ||
145 | #: src/unikey-ui.cpp:183 | |
146 | msgid "Toggle Spell Check" | |
147 | msgstr "철자 검사 전환" | |
148 | ||
149 | #: src/fcitx-unikey.desc:19 | |
150 | msgid "Unicode" | |
151 | msgstr "유니코드" | |
152 | ||
153 | #: src/unikey-im.cpp:158 src/fcitx-unikey.conf.in:3 src/unikey.conf.in:3 | |
154 | #: src/fcitx-unikey.desc:1 src/fcitx-unikey.desc:14 src/fcitx-unikey.desc:28 | |
155 | #: src/fcitx-unikey.desc:33 src/fcitx-unikey.desc:38 src/fcitx-unikey.desc:43 | |
156 | #: src/fcitx-unikey.desc:48 src/fcitx-unikey.desc:53 | |
157 | msgid "Unikey" | |
158 | msgstr "유니키" | |
159 | ||
160 | #: src/unikey-ui.cpp:142 | |
161 | msgid "Unikey Input Method" | |
162 | msgstr "유니키 입력기" | |
163 | ||
164 | #: macro-editor/editor.cpp:48 macro-editor/editor.cpp:76 | |
165 | msgid "Unikey Macro Editor" | |
166 | msgstr "유니키 매크로 편집기" | |
167 | ||
168 | #: src/fcitx-unikey.conf.in:4 | |
169 | msgid "Unikey Wrapper For Fcitx" | |
170 | msgstr "Fcitx용 Unikey 래퍼" | |
175 | 171 | |
176 | 172 | #: src/fcitx-unikey.desc:41 |
177 | 173 | msgid "Use oà, _uý (instead of òa, úy)" |
178 | 174 | msgstr "òa, úy 대신 oà, _uý 사용" |
179 | 175 | |
180 | #: src/fcitx-unikey.desc:46 | |
181 | msgid "Allow type with more freedom" | |
182 | msgstr "더 자유롭게 입력" | |
176 | #: src/fcitx-unikey.desc:10 | |
177 | msgid "UserIM" | |
178 | msgstr "사용자IM" | |
183 | 179 | |
184 | #: src/fcitx-unikey.desc:51 | |
185 | msgid "Auto restore keys with invalid words" | |
186 | msgstr "유효하지 않은 단어에 자동 복구 키 사용" | |
180 | #: src/fcitx-unikey.desc:8 src/fcitx-unikey.desc:22 | |
181 | msgid "VIQR" | |
182 | msgstr "VIQR" | |
187 | 183 | |
188 | #: src/fcitx-unikey.desc:56 | |
189 | msgid "Process W at word begin" | |
190 | msgstr "단어 시작 시 W 처리" | |
184 | #: src/fcitx-unikey.desc:7 | |
185 | msgid "VNI" | |
186 | msgstr "VNI" | |
187 | ||
188 | #: src/fcitx-unikey.desc:21 | |
189 | msgid "VNI Win" | |
190 | msgstr "VNI Win" | |
191 | ||
192 | #: macro-editor/model.cpp:46 | |
193 | msgid "Word" | |
194 | msgstr "단어" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: fcitx\n" |
9 | 9 | "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n" |
10 | "POT-Creation-Date: 2017-09-14 16:03-0700\n" | |
11 | "PO-Revision-Date: 2017-08-03 16:58+0000\n" | |
10 | "POT-Creation-Date: 2020-01-13 00:01-0800\n" | |
11 | "PO-Revision-Date: 2017-09-19 12:52+0000\n" | |
12 | 12 | "Last-Translator: TotalCaesar659 <x24cm5b8c54q6szxw@yandex.ru>\n" |
13 | 13 | "Language-Team: Russian (http://www.transifex.com/fcitx/fcitx/language/ru/)\n" |
14 | 14 | "Language: ru\n" |
14 | 14 | msgstr "" |
15 | 15 | "Project-Id-Version: fcitx\n" |
16 | 16 | "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n" |
17 | "POT-Creation-Date: 2016-09-17 21:02-0700\n" | |
18 | "PO-Revision-Date: 2016-09-18 03:52+0000\n" | |
17 | "POT-Creation-Date: 2020-01-13 00:01-0800\n" | |
18 | "PO-Revision-Date: 2017-09-19 12:28+0000\n" | |
19 | 19 | "Last-Translator: csslayer <wengxt@gmail.com>\n" |
20 | 20 | "Language-Team: Vietnamese (http://www.transifex.com/fcitx/fcitx/language/" |
21 | 21 | "vi/)\n" |
10 | 10 | msgstr "" |
11 | 11 | "Project-Id-Version: fcitx\n" |
12 | 12 | "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n" |
13 | "POT-Creation-Date: 2016-09-17 21:02-0700\n" | |
14 | "PO-Revision-Date: 2016-09-18 03:47+0000\n" | |
13 | "POT-Creation-Date: 2020-01-13 00:01-0800\n" | |
14 | "PO-Revision-Date: 2017-09-19 12:28+0000\n" | |
15 | 15 | "Last-Translator: csslayer <wengxt@gmail.com>\n" |
16 | 16 | "Language-Team: Chinese (China) (http://www.transifex.com/fcitx/fcitx/" |
17 | 17 | "language/zh_CN/)\n" |
4 | 4 | # Translators: |
5 | 5 | # Alisha <alisha.4m@gmail.com>, 2012 |
6 | 6 | # BrLi <rainman59118@gmail.com>, 2014 |
7 | # byStarTW (pan93412) <pan93412@gmail.com>, 2019 | |
7 | 8 | msgid "" |
8 | 9 | msgstr "" |
9 | 10 | "Project-Id-Version: fcitx\n" |
10 | 11 | "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n" |
11 | "POT-Creation-Date: 2016-09-17 13:02-0700\n" | |
12 | "PO-Revision-Date: 2016-09-17 19:03+0000\n" | |
13 | "Last-Translator: csslayer <wengxt@gmail.com>\n" | |
12 | "POT-Creation-Date: 2020-03-08 00:02-0800\n" | |
13 | "PO-Revision-Date: 2019-12-06 14:47+0000\n" | |
14 | "Last-Translator: byStarTW (pan93412) <pan93412@gmail.com>\n" | |
14 | 15 | "Language-Team: Chinese (Taiwan) (http://www.transifex.com/fcitx/fcitx/" |
15 | 16 | "language/zh_TW/)\n" |
16 | 17 | "Language: zh_TW\n" |
138 | 139 | |
139 | 140 | #: src/unikey-ui.cpp:188 |
140 | 141 | msgid "Toggle Macro" |
141 | msgstr "" | |
142 | msgstr "切換巨集" | |
142 | 143 | |
143 | 144 | #: src/unikey-ui.cpp:183 |
144 | 145 | msgid "Toggle Spell Check" |
145 | msgstr "" | |
146 | msgstr "切換拼字檢查" | |
146 | 147 | |
147 | 148 | #: src/fcitx-unikey.desc:19 |
148 | 149 | msgid "Unicode" |
22 | 22 | #include <fcitx/ime.h> |
23 | 23 | #include <fcitx/hook.h> |
24 | 24 | #include <fcitx/instance.h> |
25 | #include <fcitx/keys.h> | |
25 | 26 | #include <fcitx-config/xdg.h> |
26 | 27 | #include <fcitx-utils/log.h> |
27 | 28 | #include <errno.h> |
39 | 40 | static void* FcitxUnikeyCreate(FcitxInstance* instance); |
40 | 41 | static void FcitxUnikeyDestroy(void* arg); |
41 | 42 | static INPUT_RETURN_VALUE FcitxUnikeyDoInput(void* arg, FcitxKeySym sym, unsigned int state); |
43 | static INPUT_RETURN_VALUE FcitxUnikeyDoReleaseInput(void* arg, FcitxKeySym sym, unsigned int state); | |
42 | 44 | static boolean FcitxUnikeyInit(void* arg); |
43 | 45 | static void FcitxUnikeyReset(void* arg); |
44 | 46 | static void FcitxUnikeyResetUI(void* arg); |
88 | 90 | 'P', 'Q', 'R', 'S', 'T', 'V', 'X', 'Z' |
89 | 91 | }; |
90 | 92 | |
93 | static void FcitxUnikeySyncState(FcitxUnikey* unikey, FcitxKeySym sym) { | |
94 | // process result of ukengine | |
95 | if (UnikeyBackspaces > 0) | |
96 | { | |
97 | if (unikey->preeditstr->length() <= (unsigned int)UnikeyBackspaces) | |
98 | { | |
99 | unikey->preeditstr->clear(); | |
100 | } | |
101 | else | |
102 | { | |
103 | FcitxUnikeyEraseChars(unikey, UnikeyBackspaces); | |
104 | } | |
105 | } | |
106 | ||
107 | if (UnikeyBufChars > 0) | |
108 | { | |
109 | if (unikey->config.oc == UKCONV_XUTF8) | |
110 | { | |
111 | unikey->preeditstr->append((const char*)UnikeyBuf, UnikeyBufChars); | |
112 | } | |
113 | else | |
114 | { | |
115 | unsigned char buf[CONVERT_BUF_SIZE + 1]; | |
116 | int bufSize = CONVERT_BUF_SIZE; | |
117 | ||
118 | latinToUtf(buf, UnikeyBuf, UnikeyBufChars, &bufSize); | |
119 | unikey->preeditstr->append((const char*)buf, CONVERT_BUF_SIZE - bufSize); | |
120 | } | |
121 | } | |
122 | else if (sym != FcitxKey_Shift_L && sym != FcitxKey_Shift_R) // if ukengine not process | |
123 | { | |
124 | int n; | |
125 | char s[7] = {0, 0, 0, 0, 0, 0, 0}; | |
126 | n = fcitx_ucs4_to_utf8((unsigned int)sym, s); // convert ucs4 to utf8 char | |
127 | unikey->preeditstr->append(s, n); | |
128 | } | |
129 | // end process result of ukengine | |
130 | } | |
131 | ||
91 | 132 | void* FcitxUnikeyCreate(FcitxInstance* instance) |
92 | 133 | { |
93 | 134 | FcitxUnikey* unikey = (FcitxUnikey*) fcitx_utils_malloc0(sizeof(FcitxUnikey)); |
105 | 146 | iface.Init = FcitxUnikeyInit; |
106 | 147 | iface.ResetIM = FcitxUnikeyReset; |
107 | 148 | iface.DoInput = FcitxUnikeyDoInput; |
149 | iface.DoReleaseInput = FcitxUnikeyDoReleaseInput; | |
108 | 150 | iface.ReloadConfig = ReloadConfigFcitxUnikey; |
109 | 151 | iface.Save = FcitxUnikeySave; |
110 | 152 | |
153 | 195 | UnikeyResetBuf(); |
154 | 196 | unikey->preeditstr->clear(); |
155 | 197 | FcitxUnikeyUpdatePreedit(unikey); |
198 | unikey->lastShiftPressed = FcitxKey_None; | |
156 | 199 | } |
157 | 200 | |
158 | 201 | void FcitxUnikeyCommit(FcitxUnikey* unikey) |
187 | 230 | return tmp; |
188 | 231 | } |
189 | 232 | |
233 | INPUT_RETURN_VALUE FcitxUnikeyDoReleaseInput(void* arg, FcitxKeySym sym, unsigned int state) | |
234 | { | |
235 | FcitxUnikey* unikey = (FcitxUnikey*) arg; | |
236 | if (FcitxHotkeyIsHotKey(sym, state, FCITX_LSHIFT) || FcitxHotkeyIsHotKey(sym, state, FCITX_RSHIFT)) { | |
237 | unikey->lastShiftPressed = FcitxKey_None; | |
238 | } | |
239 | ||
240 | return IRV_TO_PROCESS; | |
241 | } | |
242 | ||
190 | 243 | INPUT_RETURN_VALUE FcitxUnikeyDoInputPreedit(FcitxUnikey* unikey, FcitxKeySym sym, unsigned int state) |
191 | 244 | { |
245 | if (FcitxHotkeyIsHotKey(sym, state, FCITX_LSHIFT) || FcitxHotkeyIsHotKey(sym, state, FCITX_RSHIFT)) { | |
246 | if (unikey->lastShiftPressed == FcitxKey_None) { | |
247 | unikey->lastShiftPressed = sym; | |
248 | } else if (unikey->lastShiftPressed != sym) { | |
249 | UnikeyRestoreKeyStrokes(); | |
250 | FcitxUnikeySyncState(unikey, sym); | |
251 | FcitxUnikeyUpdatePreedit(unikey); | |
252 | unikey->lastShiftPressed = FcitxKey_None; | |
253 | return IRV_DISPLAY_MESSAGE; | |
254 | } | |
255 | } else { | |
256 | // We pressed something else, reset the state. | |
257 | unikey->lastShiftPressed = FcitxKey_None; | |
258 | } | |
192 | 259 | |
193 | 260 | if (state & FcitxKeyState_Ctrl |
194 | 261 | || state & FcitxKeyState_Alt // alternate mask |
209 | 276 | return IRV_TO_PROCESS; |
210 | 277 | } |
211 | 278 | else if ((sym >= FcitxKey_Caps_Lock && sym <= FcitxKey_Hyper_R) |
212 | || (!(state & FcitxKeyState_Shift) && (sym == FcitxKey_Shift_L || sym == FcitxKey_Shift_R)) // when press one shift key | |
213 | ) | |
279 | || sym == FcitxKey_Shift_L || sym == FcitxKey_Shift_R) | |
214 | 280 | { |
215 | 281 | return IRV_TO_PROCESS; |
216 | 282 | } |
267 | 333 | } |
268 | 334 | |
269 | 335 | // capture ascii printable char |
270 | else if ((sym >= FcitxKey_space && sym <=FcitxKey_asciitilde) | |
271 | || sym == FcitxKey_Shift_L || sym == FcitxKey_Shift_R) // sure this have FcitxKey_SHIFT_MASK | |
336 | else if (sym >= FcitxKey_space && sym <=FcitxKey_asciitilde) | |
272 | 337 | { |
273 | 338 | unsigned int i = 0; |
274 | 339 | |
313 | 378 | |
314 | 379 | // shift + space, shift + shift event |
315 | 380 | if ((unikey->last_key_with_shift == false && state & FcitxKeyState_Shift |
316 | && sym == FcitxKey_space && !UnikeyAtWordBeginning()) | |
317 | || (sym == FcitxKey_Shift_L || sym == FcitxKey_Shift_R) // (&& state & FcitxKey_SHIFT_MASK), sure this have FcitxKey_SHIFT_MASK | |
318 | ) | |
381 | && sym == FcitxKey_space && !UnikeyAtWordBeginning())) | |
319 | 382 | { |
320 | 383 | UnikeyRestoreKeyStrokes(); |
321 | 384 | } // end shift + space, shift + shift event |
326 | 389 | } |
327 | 390 | // end process sym |
328 | 391 | |
329 | // process result of ukengine | |
330 | if (UnikeyBackspaces > 0) | |
331 | { | |
332 | if (unikey->preeditstr->length() <= (unsigned int)UnikeyBackspaces) | |
333 | { | |
334 | unikey->preeditstr->clear(); | |
335 | } | |
336 | else | |
337 | { | |
338 | FcitxUnikeyEraseChars(unikey, UnikeyBackspaces); | |
339 | } | |
340 | } | |
341 | ||
342 | if (UnikeyBufChars > 0) | |
343 | { | |
344 | if (unikey->config.oc == UKCONV_XUTF8) | |
345 | { | |
346 | unikey->preeditstr->append((const char*)UnikeyBuf, UnikeyBufChars); | |
347 | } | |
348 | else | |
349 | { | |
350 | unsigned char buf[CONVERT_BUF_SIZE + 1]; | |
351 | int bufSize = CONVERT_BUF_SIZE; | |
352 | ||
353 | latinToUtf(buf, UnikeyBuf, UnikeyBufChars, &bufSize); | |
354 | unikey->preeditstr->append((const char*)buf, CONVERT_BUF_SIZE - bufSize); | |
355 | } | |
356 | } | |
357 | else if (sym != FcitxKey_Shift_L && sym != FcitxKey_Shift_R) // if ukengine not process | |
358 | { | |
359 | int n; | |
360 | char s[7] = {0, 0, 0, 0, 0, 0, 0}; | |
361 | n = fcitx_ucs4_to_utf8((unsigned int)sym, s); // convert ucs4 to utf8 char | |
362 | unikey->preeditstr->append(s, n); | |
363 | } | |
364 | // end process result of ukengine | |
392 | FcitxUnikeySyncState(unikey, sym); | |
365 | 393 | |
366 | 394 | // commit string: if need |
367 | 395 | if (unikey->preeditstr->length() > 0) |