Skip to content

Commit

Permalink
fix: remove strings that don't need translation
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed Feb 10, 2024
1 parent 4af93bc commit 7936c02
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
14 changes: 3 additions & 11 deletions po/ibus-chewing.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -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 ""

Expand Down
16 changes: 11 additions & 5 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Check warning on line 84 in src/main.c

View check run for this annotation

Codecov / codecov/patch

src/main.c#L79-L84

Added lines #L79 - L84 were not covered by tests
QUOTE_ME(LIBEXEC_DIR) "/ibus-engine-chewing --ibus",
QUOTE_ME(PROJECT_NAME));
QUOTE_ME(PROJECT_NAME)
);

Check warning on line 87 in src/main.c

View check run for this annotation

Codecov / codecov/patch

src/main.c#L86-L87

Added lines #L86 - L87 were not covered by tests
// clang-format on
}

// clang-format off
Expand All @@ -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", "&#x9177;",
Expand Down

0 comments on commit 7936c02

Please sign in to comment.