[gnome-photos] Mark translatable strings as such
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] Mark translatable strings as such
- Date: Mon, 15 Dec 2014 16:27:27 +0000 (UTC)
commit 1e832f9fe1d806ba194164dc5b2ba0a127ec557f
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Dec 11 13:47:43 2014 +0100
Mark translatable strings as such
Fallout from d1c3dba9e8a185af3df528be46cb21241ee54f31
src/photos-facebook-item.c | 2 +-
src/photos-flickr-item.c | 2 +-
src/photos-google-item.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-facebook-item.c b/src/photos-facebook-item.c
index d25443b..8f3600f 100644
--- a/src/photos-facebook-item.c
+++ b/src/photos-facebook-item.c
@@ -75,7 +75,7 @@ photos_facebook_item_create_name_fallback (PhotosBaseItem *item)
/* Translators: this is the fallback title in the form
* "Facebook — 2nd January 2013".
*/
- ret_val = g_strdup_printf ("%s — %s", provider_name, date_modified_str);
+ ret_val = g_strdup_printf (_("%s — %s"), provider_name, date_modified_str);
g_free (date_modified_str);
g_date_time_unref (date_modified);
diff --git a/src/photos-flickr-item.c b/src/photos-flickr-item.c
index ae8905d..279367d 100644
--- a/src/photos-flickr-item.c
+++ b/src/photos-flickr-item.c
@@ -85,7 +85,7 @@ photos_flickr_item_create_name_fallback (PhotosBaseItem *item)
/* Translators: this is the fallback title in the form
* "Facebook — 2nd January 2013".
*/
- ret_val = g_strdup_printf ("%s — %s", provider_name, date_modified_str);
+ ret_val = g_strdup_printf (_("%s — %s"), provider_name, date_modified_str);
g_free (date_modified_str);
g_date_time_unref (date_modified);
diff --git a/src/photos-google-item.c b/src/photos-google-item.c
index 86fab34..13b59b7 100644
--- a/src/photos-google-item.c
+++ b/src/photos-google-item.c
@@ -73,7 +73,7 @@ photos_google_item_create_name_fallback (PhotosBaseItem *item)
/* Translators: this is the fallback title in the form
* "Facebook — 2nd January 2013".
*/
- ret_val = g_strdup_printf ("%s — %s", provider_name, date_modified_str);
+ ret_val = g_strdup_printf (_("%s — %s"), provider_name, date_modified_str);
g_free (date_modified_str);
g_date_time_unref (date_modified);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]