diff --git a/po/ibus-chewing.pot b/po/ibus-chewing.pot index 893dd5f..1be15d3 100644 --- a/po/ibus-chewing.pot +++ b/po/ibus-chewing.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-02-10 08:57+0900\n" +"POT-Creation-Date: 2024-02-10 09:15+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -249,19 +249,11 @@ msgstr "" msgid "Cannot connect to IBus!" msgstr "" -#: src/main.c:78 -msgid "Chewing component" -msgstr "" - -#: src/main.c:79 src/main.c:92 -msgid "Peng Huang, Ding-Yi Chen" -msgstr "" - -#: src/main.c:88 +#: src/main.c:94 msgid "Chewing" msgstr "" -#: src/main.c:89 +#: src/main.c:95 msgid "Chinese chewing input method" msgstr "" diff --git a/src/main.c b/src/main.c index ad9ec80..b26c2ec 100644 --- a/src/main.c +++ b/src/main.c @@ -74,12 +74,18 @@ static void start_component(void) { component = ibus_component_new_from_file( QUOTE_ME(DATA_DIR) "/ibus/component/chewing.xml"); } else { + // clang-format off component = ibus_component_new( - QUOTE_ME(PROJECT_SCHEMA_ID), _("Chewing component"), - QUOTE_ME(PRJ_VER), "GPLv2+", _("Peng Huang, Ding-Yi Chen"), - "http://code.google.com/p/ibus", + QUOTE_ME(PROJECT_SCHEMA_ID), + "Chewing component", + QUOTE_ME(PRJ_VER), + "GPLv2+", + "Peng Huang, Ding-Yi Chen", + "https://github.com/chewing/ibus-chewing", QUOTE_ME(LIBEXEC_DIR) "/ibus-engine-chewing --ibus", - QUOTE_ME(PROJECT_NAME)); + QUOTE_ME(PROJECT_NAME) + ); + // clang-format on } // clang-format off @@ -89,7 +95,7 @@ static void start_component(void) { "description", _("Chinese chewing input method"), "language", "zh_TW", "license", "GPLv2+", - "author", _("Peng Huang, Ding-Yi Chen"), + "author", "Peng Huang, Ding-Yi Chen", "icon", QUOTE_ME(PRJ_DATA_DIR) "/icons/" QUOTE_ME(PROJECT_NAME) ".png", "icon_prop_key", "InputMode", "symbol", "酷",