summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/com.github.libpinyin.ibus-libpinyin.gschema.xml4
-rw-r--r--lua/lua-plugin-init.c4
-rw-r--r--po/ca.po4
-rw-r--r--po/cs.po4
-rw-r--r--po/de.po4
-rw-r--r--po/es.po4
-rw-r--r--po/fr.po4
-rw-r--r--po/ibus-libpinyin.pot2
-rw-r--r--po/ka.po4
-rw-r--r--po/pt_BR.po2
-rw-r--r--po/ru.po2
-rw-r--r--po/si.po2
-rw-r--r--po/uk.po2
-rw-r--r--po/zh_CN.po4
-rw-r--r--po/zh_HK.po4
-rw-r--r--po/zh_TW.po4
-rw-r--r--setup/ibus-libpinyin-preferences.ui2
-rw-r--r--setup/main2.py2
18 files changed, 29 insertions, 29 deletions
diff --git a/data/com.github.libpinyin.ibus-libpinyin.gschema.xml b/data/com.github.libpinyin.ibus-libpinyin.gschema.xml
index 588439b..5853af3 100644
--- a/data/com.github.libpinyin.ibus-libpinyin.gschema.xml
+++ b/data/com.github.libpinyin.ibus-libpinyin.gschema.xml
@@ -194,7 +194,7 @@
<summary>Use Lua Converter</summary>
</key>
<key name="opencc-config" type="s">
- <default>'s2t.json'</default>
+ <default>'s2tw.json'</default>
<summary>The config file which should be used by OpenCC for traditional input. Please consult the OpenCC documentation for more information</summary>
</key>
<key name="emoji-candidate" type="b">
@@ -401,7 +401,7 @@
<summary>Sort candidate option</summary>
</key>
<key name="opencc-config" type="s">
- <default>'s2t.json'</default>
+ <default>'s2tw.json'</default>
<summary>The config file which should be used by OpenCC for traditional input. Please consult the OpenCC documentation for more information</summary>
</key>
<key name="emoji-candidate" type="b">
diff --git a/lua/lua-plugin-init.c b/lua/lua-plugin-init.c
index e6e86ec..f8fc011 100644
--- a/lua/lua-plugin-init.c
+++ b/lua/lua-plugin-init.c
@@ -131,7 +131,7 @@ static int ime_join_string(lua_State* L){
for ( i = 1; i < vec_len; ++i){
lua_pushinteger(L, i);
lua_gettable(L, 1);
- str = luaL_checklstring(L, 3, NULL);
+ str = luaL_checklstring(L, -1, NULL);
luaL_addstring(&buf, str);
lua_pop(L, 1);
luaL_addstring(&buf, sep);
@@ -140,7 +140,7 @@ static int ime_join_string(lua_State* L){
/* add tail of string list */
lua_pushinteger(L, i);
lua_gettable(L, 1);
- str = luaL_checklstring(L, 3, NULL);
+ str = luaL_checklstring(L, -1, NULL);
luaL_addstring(&buf, str);
lua_pop(L, 1);
/* remove the args. */
diff --git a/po/ca.po b/po/ca.po
index ef2d895..1e85977 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -704,8 +704,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "Mètode d'entrada pinyin intel·ligent per a l'IBus"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>Copyright (c) 2011-2024 Peng Wu</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/po/cs.po b/po/cs.po
index aba14cf..c893d64 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -712,8 +712,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "Inteligentní vstupní metoda pinyin pro IBus"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>Copyright (c) 2011-2024 Peng Wu</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/po/de.po b/po/de.po
index 600a1e4..091985f 100644
--- a/po/de.po
+++ b/po/de.po
@@ -693,8 +693,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "Intelligente Pinyin Eingabemethode für IBus"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>Copyright (c) 2011-2024 Peng Wu</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/po/es.po b/po/es.po
index 661f6de..21f58fb 100644
--- a/po/es.po
+++ b/po/es.po
@@ -699,8 +699,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "Método de entrada pinyin inteligente para IBus"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>Copyright (c) 2011-2024 Peng Wu</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/po/fr.po b/po/fr.po
index bbd8f21..797bad6 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -698,8 +698,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "Méthode de saisie Pinyin intelligente pour IBus"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>Copyright (c) 2011-2024 Peng Wu</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/po/ibus-libpinyin.pot b/po/ibus-libpinyin.pot
index 305737f..d771150 100644
--- a/po/ibus-libpinyin.pot
+++ b/po/ibus-libpinyin.pot
@@ -681,7 +681,7 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr ""
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
msgstr ""
#: setup/ibus-libpinyin-preferences.ui:2735
diff --git a/po/ka.po b/po/ka.po
index 5a8702f..d3f5792 100644
--- a/po/ka.po
+++ b/po/ka.po
@@ -682,8 +682,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr ""
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>(c) 2011-2012 Peng Wu, ყველა უფლება დაცულია</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>(c) 2011-2024 Peng Wu, ყველა უფლება დაცულია</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index e5954e1..d4d2dec 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -685,7 +685,7 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr ""
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
msgstr ""
#: setup/ibus-libpinyin-preferences.ui:2735
diff --git a/po/ru.po b/po/ru.po
index 6d4e8a1..ec19d23 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -727,7 +727,7 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "Метод ввода пиньинь для IBus"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
msgstr ""
#: setup/ibus-libpinyin-preferences.ui:2735
diff --git a/po/si.po b/po/si.po
index 4fb379c..3b6a974 100644
--- a/po/si.po
+++ b/po/si.po
@@ -682,7 +682,7 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr ""
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
msgstr ""
#: setup/ibus-libpinyin-preferences.ui:2735
diff --git a/po/uk.po b/po/uk.po
index ba08744..6cda156 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -691,7 +691,7 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "Кмітливий спосіб введення піньїн для IBus"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
msgstr "<small>© Peng Wu, 2011–2012</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
diff --git a/po/zh_CN.po b/po/zh_CN.po
index bf0a40c..4cbd7e2 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -696,8 +696,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "IBus 智能拼音输入法"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>版权所有 (c) 2011-2012 吴鹏</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>版权所有 (c) 2011-2024 吴鹏</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/po/zh_HK.po b/po/zh_HK.po
index cba749f..e162267 100644
--- a/po/zh_HK.po
+++ b/po/zh_HK.po
@@ -700,8 +700,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "IBus 智能拼音輸入法"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>版權所有 (c) 2011-2012 吳鵬</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>版權所有 (c) 2011-2024 吳鵬</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index daf23d3..cc7bf0c 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -700,8 +700,8 @@ msgid "Intelligent Pinyin input method for IBus"
msgstr "IBus 智能拼音輸入法"
#: setup/ibus-libpinyin-preferences.ui:2722
-msgid "<small>Copyright (c) 2011-2012 Peng Wu</small>"
-msgstr "<small>版權所有 (c) 2011-2012 吳鵬</small>"
+msgid "<small>Copyright (c) 2011-2024 Peng Wu</small>"
+msgstr "<small>版權所有 (c) 2011-2024 吳鵬</small>"
#: setup/ibus-libpinyin-preferences.ui:2735
msgid "https://github.com/libpinyin/ibus-libpinyin"
diff --git a/setup/ibus-libpinyin-preferences.ui b/setup/ibus-libpinyin-preferences.ui
index f6a5bc1..042b9a4 100644
--- a/setup/ibus-libpinyin-preferences.ui
+++ b/setup/ibus-libpinyin-preferences.ui
@@ -2722,7 +2722,7 @@
<object class="GtkLabel" id="label15">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="label" translatable="yes">&lt;small&gt;Copyright (c) 2011-2012 Peng Wu&lt;/small&gt;</property>
+ <property name="label" translatable="yes">&lt;small&gt;Copyright (c) 2011-2024 Peng Wu&lt;/small&gt;</property>
<property name="use-markup">True</property>
<property name="wrap">True</property>
<property name="selectable">True</property>
diff --git a/setup/main2.py b/setup/main2.py
index 5dacad6..6f17a97 100644
--- a/setup/main2.py
+++ b/setup/main2.py
@@ -5,7 +5,7 @@
#
# Copyright (c) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
# Copyright (c) 2010 BYVoid <byvoid1@gmail.com>
-# Copyright (c) 2011-2012 Peng Wu <alexepico@gmail.com>
+# Copyright (c) 2011-2024 Peng Wu <alexepico@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by