[gnome-photos] properties-dialog: Disambiguate "Title" and "Author" for translation
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] properties-dialog: Disambiguate "Title" and "Author" for translation
- Date: Mon, 22 Jul 2013 14:52:38 +0000 (UTC)
commit 9f5e5ab9c1e35a470a1113ce535304143eaa465c
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Jul 22 16:51:28 2013 +0200
properties-dialog: Disambiguate "Title" and "Author" for translation
This doesn't really affect us at the moment because we have only
instance of these strings. However, it is good to guard ourselves from
a future mishap.
Original patch from Cosimo Cecchi for gnome-documents.
src/photos-properties-dialog.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-properties-dialog.c b/src/photos-properties-dialog.c
index 57cb09d..1986dba 100644
--- a/src/photos-properties-dialog.c
+++ b/src/photos-properties-dialog.c
@@ -155,7 +155,7 @@ photos_properties_dialog_constructed (GObject *object)
content_area = gtk_dialog_get_content_area (GTK_DIALOG (self));
gtk_box_pack_start (GTK_BOX (content_area), grid, TRUE, TRUE, 2);
- title = gtk_label_new (_("Title"));
+ title = gtk_label_new (C_("Document Title", "Title"));
gtk_widget_set_halign (title, GTK_ALIGN_END);
context = gtk_widget_get_style_context (title);
gtk_style_context_add_class (context, "dim-label");
@@ -164,7 +164,7 @@ photos_properties_dialog_constructed (GObject *object)
author = photos_base_item_get_author (item);
if (author != NULL && author[0] != '\0')
{
- author_w = gtk_label_new (_("Author"));
+ author_w = gtk_label_new (C_("Document Author", "Author"));
gtk_widget_set_halign (author_w, GTK_ALIGN_END);
context = gtk_widget_get_style_context (author_w);
gtk_style_context_add_class (context, "dim-label");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]