Fix string formats in translatable strings

This commit is contained in:
fujiwarat 2020-09-03 21:21:31 +09:00
Родитель 00adea6d16
Коммит 7caead10d3
6 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -6,7 +6,7 @@ test -z "$srcdir" && srcdir=.
PKG_NAME="ibus"
DIST_FILES="
engine/simple.xml
engine/simple.xml.in
src/ibusemojigen.h
src/ibusunicodegen.h
"

Просмотреть файл

@ -195,7 +195,7 @@
<key name="lang" type="s">
<default>'en'</default>
<summary>Default language for emoji dictionary</summary>
<description>Choose a default language of emoji dictionaries on the emoji dialog. The value $lang is applied to /usr/share/ibus/dicts/emoji-$lang.dict</description>
<description>Choose a default language of emoji dictionaries on the emoji dialog. The value $lang is applied to /usr/share/ibus/dicts/emoji-$lang.dict .</description>
</key>
<key name="favorites" type="as">
<default>[]</default>

Просмотреть файл

@ -1,14 +1,14 @@
# Source translation of ibus.
# Copyright (C) 2008-2015 Peng Huang <shawn.p.huang@gmail.com>
# Copyright (C) 2015-2019 Takao Fujiwara <takao.fujiwara1@gmail.com>
# Copyright (C) 2015-2020 Takao Fujiwara <takao.fujiwara1@gmail.com>
# This file is distributed under the same license as the ibus package.
#
msgid ""
msgstr ""
"Project-Id-Version: ibus 1.5.22\n"
"Report-Msgid-Bugs-To: https://github.com/ibus/ibus/issues\n"
"POT-Creation-Date: 2020-08-26 19:53+0900\n"
"PO-Revision-Date: 2020-08-26 19:53+0900\n"
"POT-Creation-Date: 2020-09-03 21:21+0900\n"
"PO-Revision-Date: 2020-09-03 21:21+0900\n"
"Last-Translator: Takao Fujiwara <takao.fujiwara1@gmail.com>\n"
"Language-Team: Source\n"
"Language: \n"
@ -301,7 +301,7 @@ msgstr ""
#: data/dconf/org.freedesktop.ibus.gschema.xml:198
msgid ""
"Choose a default language of emoji dictionaries on the emoji dialog. The "
"value $lang is applied to /usr/share/ibus/dicts/emoji-$lang.dict"
"value $lang is applied to /usr/share/ibus/dicts/emoji-$lang.dict ."
msgstr ""
#: data/dconf/org.freedesktop.ibus.gschema.xml:202
@ -507,7 +507,7 @@ msgstr ""
#. Translators: %d == 5 currently
#: setup/main.py:550
#, python-format
msgid "IBus daemon could not be started in %d seconds"
msgid "IBus daemon could not be started in %d seconds."
msgstr ""
#: setup/main.py:562
@ -3075,7 +3075,7 @@ msgid "Reset the configuration values"
msgstr ""
#: tools/main.vala:456
msgid "Save emoji on dialog to clipboard "
msgid "Save emoji on dialog to clipboard"
msgstr ""
#: tools/main.vala:458

Просмотреть файл

@ -3,8 +3,8 @@
# ibus - The Input Bus
#
# Copyright (c) 2007-2015 Peng Huang <shawn.p.huang@gmail.com>
# Copyright (c) 2014-2018 Takao Fujiwara <takao.fujiwara1@gmail.com>
# Copyright (c) 2007-2018 Red Hat, Inc.
# Copyright (c) 2014-2020 Takao Fujiwara <takao.fujiwara1@gmail.com>
# Copyright (c) 2007-2020 Red Hat, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@ -93,7 +93,7 @@ class EngineTreeView(Gtk.TreeView):
renderer.set_property("has-entry", False)
renderer.set_property("editable", True)
column = Gtk.TreeViewColumn(_("Kbd"))
column = Gtk.TreeViewColumn("Kbd")
column.set_expand(False)
column.set_fixed_width(32)
column.set_sizing(Gtk.TreeViewColumnSizing.FIXED)

Просмотреть файл

@ -4,8 +4,8 @@
# ibus - The Input Bus
#
# Copyright (c) 2007-2016 Peng Huang <shawn.p.huang@gmail.com>
# Copyright (c) 2010-2018 Takao Fujiwara <takao.fujiwara1@gmail.com>
# Copyright (c) 2007-2016 Red Hat, Inc.
# Copyright (c) 2010-2020 Takao Fujiwara <takao.fujiwara1@gmail.com>
# Copyright (c) 2007-2020 Red Hat, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@ -547,7 +547,7 @@ class Setup(object):
self.__flush_gtk_events()
else:
# Translators: %d == 5 currently
message = _("IBus daemon could not be started in %d seconds")
message = _("IBus daemon could not be started in %d seconds.")
dlg = Gtk.MessageDialog(message_type = Gtk.MessageType.INFO,
buttons = Gtk.ButtonsType.OK,
text = message % timeout)

Просмотреть файл

@ -3,7 +3,7 @@
* ibus - The Input Bus
*
* Copyright(c) 2013 Peng Huang <shawn.p.huang@gmail.com>
* Copyright(c) 2015-2018 Takao Fujiwara <takao.fujiwara1@gmail.com>
* Copyright(c) 2015-2020 Takao Fujiwara <takao.fujiwara1@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -453,7 +453,7 @@ const CommandEntry commands[] = {
{ "read-config", N_("Show the configuration values"), read_config },
{ "reset-config", N_("Reset the configuration values"), reset_config },
#if EMOJI_DICT
{ "emoji", N_("Save emoji on dialog to clipboard "), emoji_dialog },
{ "emoji", N_("Save emoji on dialog to clipboard"), emoji_dialog },
#endif
{ "help", N_("Show this information"), print_help }
};