Fix translation.

This commit is contained in:
Daiki Ueno
2011-02-25 13:14:17 +09:00
parent 1c3d20ad6f
commit c9cee89d7e
3 changed files with 36 additions and 19 deletions

View File

@ -105,7 +105,7 @@ main (int argc, char **argv)
error = NULL;
connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
if (connection == NULL) {
g_printerr (_("Can't connect to the bus: %s\n"), error->message);
g_printerr ("Can't connect to the bus: %s\n", error->message);
exit (1);
}
break;
@ -117,7 +117,7 @@ main (int argc, char **argv)
NULL,
&error);
if (connection == NULL) {
g_printerr (_("Can't connect to the bus at %s: %s\n"),
g_printerr ("Can't connect to the bus at %s: %s\n",
opt_address,
error->message);
exit (1);
@ -130,7 +130,7 @@ main (int argc, char **argv)
eekboard = eekboard_eekboard_new (connection, NULL);
if (eekboard == NULL) {
g_printerr (_("Can't create eekboard proxy\n"));
g_printerr ("Can't create eekboard proxy\n");
retval = 1;
goto out;
}
@ -139,7 +139,7 @@ main (int argc, char **argv)
"eekboard-client",
NULL);
if (context == NULL) {
g_printerr (_("Can't create context\n"));
g_printerr ("Can't create context\n");
retval = 1;
goto out;
}
@ -157,7 +157,7 @@ main (int argc, char **argv)
error = NULL;
input = g_file_read (file, NULL, &error);
if (error) {
g_printerr (_("Can't read file %s: %s\n"),
g_printerr ("Can't read file %s: %s\n",
opt_set_keyboard, error->message);
retval = 1;
goto out;

View File

@ -15,12 +15,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <gtk/gtk.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include "eek/eek.h"
#if HAVE_CLUTTER_GTK
@ -212,7 +213,7 @@ update_widget (ServerContext *context)
gtk_widget_set_can_focus (context->window, FALSE);
g_object_set (G_OBJECT(context->window), "accept_focus", FALSE, NULL);
gtk_window_set_title (GTK_WINDOW(context->window), "Keyboard");
gtk_window_set_title (GTK_WINDOW(context->window), _("Keyboard"));
gtk_window_set_icon_name (GTK_WINDOW(context->window), "eekboard");
gtk_window_set_keep_above (GTK_WINDOW(context->window), TRUE);