[gnome-software] trivial: details page: Move translator comments above translated string
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: details page: Move translator comments above translated string
- Date: Wed, 21 Feb 2018 15:44:26 +0000 (UTC)
commit e1584eb2db6e46f8cc595f8325cf79de4b9caed7
Author: Kalev Lember <klember redhat com>
Date: Wed Feb 21 16:41:51 2018 +0100
trivial: details page: Move translator comments above translated string
Otherwise gettext doesn't extract the comments. Thanks to Piotr Drąg for
pointing this out!
src/gs-details-page.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-details-page.c b/src/gs-details-page.c
index d1dcd2d8..b744d70e 100644
--- a/src/gs-details-page.c
+++ b/src/gs-details-page.c
@@ -353,14 +353,14 @@ gs_details_page_switch_to (GsPage *page, gboolean scroll_up)
}
if (gs_app_get_kind (self->app) == AS_APP_KIND_SHELL_EXTENSION) {
- /* TRANSLATORS: A label for a button to show the settings for
- the selected shell extension. */
gtk_button_set_label (GTK_BUTTON (self->button_details_launch),
+ /* TRANSLATORS: A label for a button to show the settings for
+ the selected shell extension. */
_("Extension Settings"));
} else {
- /* TRANSLATORS: A label for a button to execute the selected
- application. */
gtk_button_set_label (GTK_BUTTON (self->button_details_launch),
+ /* TRANSLATORS: A label for a button to execute the selected
+ application. */
_("_Launch"));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]