[gnome-software/wip/piotrdrag/translatable-links: 4/4] details-page: Mark links to licenses for translation
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/piotrdrag/translatable-links: 4/4] details-page: Mark links to licenses for translation
- Date: Thu, 25 Jan 2018 18:22:55 +0000 (UTC)
commit e30e57f7a536cdf6652fa7b3dc2ae052f459778e
Author: Piotr Drąg <piotrdrag gmail com>
Date: Thu Jan 25 17:44:06 2018 +0100
details-page: Mark links to licenses for translation
Closes https://gitlab.gnome.org/GNOME/gnome-software/issues/294
src/gs-details-page.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-details-page.c b/src/gs-details-page.c
index 992e87cd..d508119a 100644
--- a/src/gs-details-page.c
+++ b/src/gs-details-page.c
@@ -2154,12 +2154,16 @@ gs_details_page_license_widget_for_token (GsDetailsPage *self, const gchar *toke
if (g_strcmp0 (token, "@LicenseRef-public-domain") == 0) {
/* TRANSLATORS: see the wikipedia page */
return gs_details_page_label_widget (self, _("Public domain"),
- "https://en.wikipedia.org/wiki/Public_domain");
+ /* TRANSLATORS: Replace the link with a version in your language,
+ * e.g. https://de.wikipedia.org/wiki/Gemeinfreiheit */
+ _("https://en.wikipedia.org/wiki/Public_domain"));
}
/* free software, license unspecified */
if (g_str_has_prefix (token, "@LicenseRef-free")) {
- const gchar *url = "https://www.gnu.org/philosophy/free-sw";
+ /* TRANSLATORS: Replace the link with a version in your language,
+ * e.g. https://www.gnu.org/philosophy/free-sw.de */
+ const gchar *url = _("https://www.gnu.org/philosophy/free-sw");
gchar *tmp;
/* we support putting a custom URL in the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]