[gnome-software: 3/3] Merge branch '1421-proprietary-tile-wording' into 'main'




commit 938e12435df1a7b8996aeb060b6a5563285476b1
Merge: df027c093 7d45ba898
Author: Will Thompson <wjt endlessos org>
Date:   Mon Aug 1 10:17:24 2022 +0000

    Merge branch '1421-proprietary-tile-wording' into 'main'
    
    gs-license-tile: Update wording on proprietary tile
    
    Closes #1421 and #1685
    
    See merge request GNOME/gnome-software!1434

 src/gs-details-page.c  | 18 +++++++++++++++---
 src/gs-license-tile.c  | 16 ++++++++++------
 src/gs-license-tile.ui |  5 +++--
 3 files changed, 28 insertions(+), 11 deletions(-)
---
diff --cc src/gs-license-tile.c
index a49189f48,0efd3fa62..2a2513c97
--- a/src/gs-license-tile.c
+++ b/src/gs-license-tile.c
@@@ -103,24 -102,13 +104,25 @@@ gs_license_tile_refresh (GsLicenseTile 
  #else
                get_involved_visible = (gs_app_get_url (self->app, AS_URL_KIND_HOMEPAGE) != NULL);
  #endif
+               get_involved_label = _("_Get Involved");
  
 -              /* Translators: The placeholder here is the name of a software license. */
 -              description = g_strdup_printf (_("This software is developed in the open by a community of 
volunteers, and released under the %s license."
 -                                               "\n\n"
 -                                               "You can contribute and help make it even better."),
 -                                               gs_app_get_license (self->app));
 +              license_spdx = gs_app_get_license (self->app);
 +              license_url = as_get_license_url (license_spdx);
 +
 +              if (license_url != NULL) {
 +                      /* Translators: The first placeholder here is a link to information about the 
license, and the second placeholder here is the name of a software license. */
 +                      description = g_strdup_printf (_("This software is developed in the open by a 
community of volunteers, and released under the <a href=\"%s\">%s license</a>."
 +                                                       "\n\n"
 +                                                       "You can contribute and help make it even better."),
 +                                                       license_url,
 +                                                       license_spdx);
 +              } else {
 +                      /* Translators: The placeholder here is the name of a software license. */
 +                      description = g_strdup_printf (_("This software is developed in the open by a 
community of volunteers, and released under the %s license."
 +                                                       "\n\n"
 +                                                       "You can contribute and help make it even better."),
 +                                                       license_spdx);
 +              }
        } else {
                title = _("Proprietary");
                css_class = "grey";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]