Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for #6 #7

Merged
merged 2 commits into from

2 participants

@prokoudine

The changes meet requirements made by Gez at #6:

Changed all "Save" entries to "Export", moved the menu item to the "Export" subgroup. Also updated Russian translation while at that.

@auris auris merged commit 242dcb2 into auris:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 54 additions and 45 deletions.
  1. +45 −36 po/ru.po
  2. +5 −5 src/webx_dialog.c
  3. +4 −4 src/webx_main.c
View
81 po/ru.po
@@ -2,47 +2,53 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+# Александр Прокудин <alexandre.prokoudine@gmail.com>, 2012.
#
msgid ""
msgstr ""
"Project-Id-Version: Save for Web plug-in 0.8\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-11-12 09:41+0300\n"
-"PO-Revision-Date: 2007-11-12 09:48+0300\n"
-"Last-Translator: Alexandre Prokoudine <alexandre.prokoudine@gmail.com>\n"
-"Language-Team: GNOME Cyrillic <gnome-cyr@lists.gnome.org>\n"
+"POT-Creation-Date: 2012-07-01 12:17+0400\n"
+"PO-Revision-Date: 2012-07-01 12:20+0400\n"
+"Last-Translator: Александр Прокудин <alexandre.prokoudine@gmail.com>\n"
+"Language-Team: русский <>\n"
+"Language: \n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
+"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\\n\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); 10<=4 && (n%100<10 || n"
+"%100>=20) ? 1 : 2);\n"
"X-Poedit-Language: Russian\n"
"X-Poedit-Country: RUSSIAN FEDERATION\n"
-#: ../src/webx_crop_widget.c:89
+#: ../src/webx_crop_widget.c:87
msgid "Crop"
msgstr "Кадрирование"
-#: ../src/webx_crop_widget.c:97
+#: ../src/webx_crop_widget.c:95
msgid "X Offset:"
msgstr "Смещение по X:"
-#: ../src/webx_crop_widget.c:112
+#: ../src/webx_crop_widget.c:110
msgid "Y Offset:"
msgstr "Смещение по Y:"
-#: ../src/webx_crop_widget.c:127
-#: ../src/webx_resize_widget.c:95
+#: ../src/webx_crop_widget.c:125 ../src/webx_resize_widget.c:95
msgid "Width:"
msgstr "Ширина:"
-#: ../src/webx_crop_widget.c:142
-#: ../src/webx_resize_widget.c:109
+#: ../src/webx_crop_widget.c:140 ../src/webx_resize_widget.c:109
msgid "Height:"
msgstr "Высота:"
#: ../src/webx_dialog.c:216
-msgid "Save for Web"
-msgstr "Сохранить для веба"
+msgid "Export for Web"
+msgstr "Экспортировать для веба"
+
+#: ../src/webx_dialog.c:225 ../src/webx_dialog.c:485
+msgid "_Export"
+msgstr "_Экспортировать"
#: ../src/webx_dialog.c:334
msgid "JPEG"
@@ -64,27 +70,24 @@ msgstr "PNG-24"
msgid "GIF"
msgstr "GIF"
-#: ../src/webx_dialog.c:483
-msgid "Save Image"
-msgstr "Сохранить изображение"
+#: ../src/webx_dialog.c:480
+msgid "Export Image"
+msgstr "Экспортировать изображение"
-#: ../src/webx_dialog.c:512
-msgid "Failed to save the file!"
-msgstr "Не удалось сохранить файл!"
+#: ../src/webx_dialog.c:509
+msgid "Failed to export the file!"
+msgstr "Не удалось экспортировать файл!"
-#: ../src/webx_dialog.c:582
-#: ../src/webx_preview.c:430
+#: ../src/webx_dialog.c:579 ../src/webx_preview.c:430
msgid "File size: unknown"
msgstr "Размер файла: неизвестен"
-#: ../src/webx_dialog.c:613
-#: ../src/webx_preview.c:418
+#: ../src/webx_dialog.c:610 ../src/webx_preview.c:418
#, c-format
msgid "File size: %02.01f kB"
msgstr "Размер файла: %02.01f Кбайт"
-#: ../src/webx_gif_target.c:72
-#: ../src/webx_png24_target.c:86
+#: ../src/webx_gif_target.c:72 ../src/webx_png24_target.c:86
#: ../src/webx_png8_target.c:87
msgid "_Interlace"
msgstr "_Чересстрочность"
@@ -118,7 +121,7 @@ msgstr "Убрать неиспользуемые цвета"
#: ../src/webx_indexed_target.c:174
msgid "Dither:"
-msgstr "Сглаживание переходов:"
+msgstr "Подмешивание шума:"
#: ../src/webx_indexed_target.c:179
msgid "None"
@@ -165,19 +168,18 @@ msgid "Strip _EXIF"
msgstr "_Убрать данные Exif"
#: ../src/webx_main.c:70
-msgid "Optimize & save image for web"
-msgstr "Оптимизировать и сохранить изображение для веба"
+msgid "Optimize & export image for web"
+msgstr "Оптимизировать и экспортировать изображение для веба"
#: ../src/webx_main.c:75
-msgid "Save for Web..."
-msgstr "Сохранить для веба..."
+msgid "Export for We_b..."
+msgstr "Экспортировать для _веба..."
#: ../src/webx_main.c:134
-msgid "The image is too large for Save for Web!"
-msgstr "Изображение слишком велико для сохранения с оптимизацией для веба"
+msgid "The image is too large for the Export for Web plug-in!"
+msgstr "Изображение слишком велико для экспорта с оптимизацией для веба"
-#: ../src/webx_png24_target.c:90
-#: ../src/webx_png8_target.c:91
+#: ../src/webx_png24_target.c:90 ../src/webx_png8_target.c:91
msgid "_Compression"
msgstr "С_жатие"
@@ -197,3 +199,10 @@ msgstr "Уместить целиком"
msgid "Resize"
msgstr "Смена размера"
+#: ../src/webx_prefs.c:124
+#, c-format
+msgid "Couldn't save resource file: %s"
+msgstr "Не удалось сохранить ресурсный файл: %s"
+
+#~ msgid "Save Image"
+#~ msgstr "Сохранить изображение"
View
10 src/webx_dialog.c
@@ -213,7 +213,7 @@ webx_dialog_new (gint image_ID,
webx_prefs_load (&webx_prefs);
dlg = g_object_new (WEBX_TYPE_DIALOG,
- "title", (gchar*)_("Save for Web"),
+ "title", (gchar*)_("Export for Web"),
"role", (gchar*)PLUG_IN_BINARY,
"modal", (GtkDialogFlags)GTK_DIALOG_MODAL,
"help-func", (GimpHelpFunc)gimp_standard_help_func,
@@ -222,7 +222,7 @@ webx_dialog_new (gint image_ID,
gimp_dialog_add_buttons (GIMP_DIALOG (dlg),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_SAVE, GTK_RESPONSE_OK,
+ _("_Export"), GTK_RESPONSE_OK,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dlg),
@@ -477,12 +477,12 @@ webx_dialog_save_dialog (WebxDialog *dlg)
gint source_image;
gboolean saved = FALSE;
- save_dlg = gtk_file_chooser_dialog_new (_("Save Image"),
+ save_dlg = gtk_file_chooser_dialog_new (_("Export Image"),
GTK_WINDOW (dlg),
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
+ _("_Export"), GTK_RESPONSE_ACCEPT,
NULL);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (save_dlg),
@@ -506,7 +506,7 @@ webx_dialog_save_dialog (WebxDialog *dlg)
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (save_dlg));
saved = webx_pipeline_save_image (WEBX_PIPELINE (dlg->pipeline), filename);
if (! saved)
- g_message (_("Failed to save the file!"));
+ g_message (_("Failed to export the file!"));
g_free (filename);
}
View
8 src/webx_main.c
@@ -67,18 +67,18 @@ query (void)
gimp_plugin_domain_register (GETTEXT_PACKAGE, LOCALEDIR);
gimp_install_procedure (PLUG_IN_PROC,
- N_("Optimize & save image for web"),
+ N_("Optimize & export image for web"),
"Optimize image for web.",
"Aurimas Juška",
"Aurimas Juška",
"0.25",
- N_("Save for Web..."),
+ N_("Export for We_b..."),
"RGB*, GRAY*, INDEXED*",
GIMP_PLUGIN,
G_N_ELEMENTS (args), 0,
args, NULL);
- gimp_plugin_menu_register (PLUG_IN_PROC, "<Image>/File/Save");
+ gimp_plugin_menu_register (PLUG_IN_PROC, "<Image>/File/Export");
}
static void
@@ -131,7 +131,7 @@ webx_run (gint32 image_ID, gint32 drawable_ID)
if (gimp_image_width (image_ID) > WEBX_MAX_SIZE
|| gimp_image_height (image_ID) > WEBX_MAX_SIZE)
{
- gimp_message (_("The image is too large for Save for Web!"));
+ gimp_message (_("The image is too large for the Export for Web plug-in!"));
return;
}
Something went wrong with that request. Please try again.