Codebase list fcitx-cloudpinyin / 53971ce
Imported Upstream version 0.3.3 Aron Xu 10 years ago
6 changed file(s) with 36 addition(s) and 34 deletion(s). Raw diff Collapse all Expand all
77 msgstr ""
88 "Project-Id-Version: fcitx\n"
99 "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n"
10 "POT-Creation-Date: 2013-06-30 06:02-0400\n"
11 "PO-Revision-Date: 2013-06-30 05:50+0000\n"
12 "Last-Translator: Xuetian Weng <wengxt@gmail.com>\n"
10 "POT-Creation-Date: 2013-10-31 06:02-0400\n"
11 "PO-Revision-Date: 2013-10-31 05:29+0000\n"
12 "Last-Translator: mar well <marwell.1980@freenet.de>\n"
1313 "Language-Team: German (http://www.transifex.com/projects/p/fcitx/language/"
1414 "de/)\n"
1515 "Language: de\n"
1818 "Content-Transfer-Encoding: 8bit\n"
1919 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
2020
21 #: src/cloudpinyin.c:678
21 #: src/cloudpinyin.c:679
2222 msgid " (via cloud)"
2323 msgstr " (via cloud)"
2424
3030 msgid "Baidu"
3131 msgstr "Baidu"
3232
33 #: src/cloudpinyin.c:613 src/fcitx-cloudpinyin.conf.in:3
33 #: src/cloudpinyin.c:614 src/fcitx-cloudpinyin.conf.in:3
3434 msgid "Cloud Pinyin"
3535 msgstr "Cloud Pinyin"
3636
4242 msgid "Cloud Pinyin Source"
4343 msgstr "Cloudpinyin Quelle"
4444
45 #: src/cloudpinyin.c:616
46 msgid "Cloud Pinyin is Disabled."
47 msgstr "Cloudpinyin ist ausgeschaltet"
48
4549 #: src/cloudpinyin.c:615
46 msgid "Cloud Pinyin is Disabled."
47 msgstr ""
48
49 #: src/cloudpinyin.c:614
5050 msgid "Cloud Pinyin is Enabled."
51 msgstr ""
51 msgstr "Cloudpinyin ist eingeschaltet"
5252
5353 #: src/fcitx-cloudpinyin.desc:1 src/fcitx-cloudpinyin.desc:7
5454 #: src/fcitx-cloudpinyin.desc:13 src/fcitx-cloudpinyin.desc:18
33 #
44 # Translators:
55 # しろう, 2013
6 # しろう, 2013
67 msgid ""
78 msgstr ""
89 "Project-Id-Version: fcitx\n"
910 "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n"
10 "POT-Creation-Date: 2013-06-30 06:02-0400\n"
11 "PO-Revision-Date: 2013-06-30 05:50+0000\n"
12 "Last-Translator: Xuetian Weng <wengxt@gmail.com>\n"
11 "POT-Creation-Date: 2013-08-07 12:02-0400\n"
12 "PO-Revision-Date: 2013-08-07 15:02+0000\n"
13 "Last-Translator: しろう\n"
1314 "Language-Team: Japanese (http://www.transifex.com/projects/p/fcitx/language/"
1415 "ja/)\n"
1516 "Language: ja\n"
4445
4546 #: src/cloudpinyin.c:615
4647 msgid "Cloud Pinyin is Disabled."
47 msgstr ""
48 msgstr "クラウド Pinyinが無効になりました。"
4849
4950 #: src/cloudpinyin.c:614
5051 msgid "Cloud Pinyin is Enabled."
51 msgstr ""
52 msgstr "クラウド Pinyinが有効になりました。"
5253
5354 #: src/fcitx-cloudpinyin.desc:1 src/fcitx-cloudpinyin.desc:7
5455 #: src/fcitx-cloudpinyin.desc:13 src/fcitx-cloudpinyin.desc:18
5960 #: src/fcitx-cloudpinyin.desc:32
6061 msgid "Disable Cloud Pinyin When you are using mobile can save your network"
6162 msgstr ""
63 "モバイル端末の時にネットワークを消費しないために、クラウド Pinyinを無効化する"
6264
6365 #: src/fcitx-cloudpinyin.desc:16
6466 msgid "Don't Show the 'via cloud' hint"
99 msgstr ""
1010 "Project-Id-Version: fcitx\n"
1111 "Report-Msgid-Bugs-To: fcitx-dev@googlegroups.com\n"
12 "POT-Creation-Date: 2013-06-30 06:02-0400\n"
12 "POT-Creation-Date: 2013-10-26 14:42-0400\n"
1313 "PO-Revision-Date: 2013-06-30 05:51+0000\n"
1414 "Last-Translator: Xuetian Weng <wengxt@gmail.com>\n"
15 "Language-Team: Chinese (China) <fcitx-dev@googlegroups.com>\n"
15 "Language-Team: Chinese (China) (http://www.transifex.com/projects/p/fcitx/"
16 "language/zh_CN/)\n"
1617 "Language: zh_CN\n"
1718 "MIME-Version: 1.0\n"
1819 "Content-Type: text/plain; charset=UTF-8\n"
1920 "Content-Transfer-Encoding: 8bit\n"
2021 "Plural-Forms: nplurals=1; plural=0;\n"
2122
22 #: src/cloudpinyin.c:678
23 #: src/cloudpinyin.c:679
2324 msgid " (via cloud)"
2425 msgstr " (来自云)"
2526
3132 msgid "Baidu"
3233 msgstr "百度"
3334
34 #: src/cloudpinyin.c:613 src/fcitx-cloudpinyin.conf.in:3
35 #: src/cloudpinyin.c:614 src/fcitx-cloudpinyin.conf.in:3
3536 msgid "Cloud Pinyin"
3637 msgstr "云拼音"
3738
4344 msgid "Cloud Pinyin Source"
4445 msgstr "云拼音来源"
4546
46 #: src/cloudpinyin.c:615
47 #: src/cloudpinyin.c:616
4748 msgid "Cloud Pinyin is Disabled."
4849 msgstr "云拼音已禁用。"
4950
50 #: src/cloudpinyin.c:614
51 #: src/cloudpinyin.c:615
5152 msgid "Cloud Pinyin is Enabled."
5253 msgstr "云拼音已启用。"
5354
9898 CURL* curl);
9999 static INPUT_RETURN_VALUE CloudPinyinToggle(void* arg);
100100
101 CloudPinyinEngine engine[4] =
102 {
101 CloudPinyinEngine engine[] =
102 {
103 #if 0
103104 {
104105 "http://web.pinyin.sogou.com/web_ime/patch.php",
105106 "http://web.pinyin.sogou.com/api/py?key=%s&query=%s",
112113 QQParseKey,
113114 QQParsePinyin
114115 },
116 #endif
115117 {
116118 NULL,
117119 "https://www.google.com/inputtools/request?ime=pinyin&text=%s",
169171 {
170172 FcitxCloudPinyin *cloudpinyin = fcitx_utils_new(FcitxCloudPinyin);
171173 bindtextdomain("fcitx-cloudpinyin", LOCALEDIR);
174 bind_textdomain_codeset("fcitx-cloudpinyin", "UTF-8");
172175 cloudpinyin->owner = instance;
173176 int pipe1[2];
174177 int pipe2[2];
607610 cloudpinyin->config.bEnabled = !cloudpinyin->config.bEnabled;
608611
609612 FcitxFreeDesktopNotifyShowAddonTip(
610 instance, "fcitx-punc-toggle",
613 instance, "fcitx-cloudpinyin-toggle",
611614 "fcitx",
612615 _("Cloud Pinyin"),
613616 cloudpinyin->config.bEnabled ? _("Cloud Pinyin is Enabled.") :
3333 #define _(x) dgettext("fcitx-cloudpinyin", (x))
3434
3535 typedef enum {
36 CloudPinyin_Sogou = 0,
37 CloudPinyin_QQ = 1,
38 CloudPinyin_Google = 2,
39 CloudPinyin_Baidu = 3
36 CloudPinyin_Google = 0,
37 CloudPinyin_Baidu = 1
4038 } CloudPinyinSource;
4139
4240 typedef enum {
1616
1717 [CloudPinyin/Source]
1818 Type=Enum
19 DefaultValue=Sogou
19 DefaultValue=Google
2020 Description=Cloud Pinyin Source
21 EnumCount=4
22 Enum0=Sogou
23 Enum1=QQ
24 Enum2=Google
25 Enum3=Baidu
21 EnumCount=2
22 Enum0=Google
23 Enum1=Baidu
2624
2725 [CloudPinyin/ToggleKey]
2826 Type=Hotkey