[Scummvm-git-logs] scummvm-web master -> 43df8906c30b23e9f98be3eb931beb190702a648

Thunderforge noreply at scummvm.org
Tue Jan 11 00:27:39 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
43df8906c3 I10N: Making Recommended Download button title text translatable (#193)


Commit: 43df8906c30b23e9f98be3eb931beb190702a648
    https://github.com/scummvm/scummvm-web/commit/43df8906c30b23e9f98be3eb931beb190702a648
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2022-01-10T18:27:37-06:00

Commit Message:
I10N: Making Recommended Download button title text translatable (#193)

A new string, `downloadsBadgeTitle`, will need to be translated through Weblate.

Changed paths:
    data/en/strings.json
    templates/components/recommended_download.tpl


diff --git a/data/en/strings.json b/data/en/strings.json
index bec5b746..29f7431f 100644
--- a/data/en/strings.json
+++ b/data/en/strings.json
@@ -54,6 +54,7 @@
   "downloadsContentP2": "The latest STABLE release of ScummVM is {release}, and can be downloaded below under '[Release Binaries](/downloads/#release)'. If you run Windows and are confused, download the 'Windows Installer'.",
   "downloadsContentP3": "For UNSTABLE experimental versions of ScummVM (for people who know what they are doing), please see the [Daily Builds](/downloads/#daily) section, near the end of this page.",
   "downloadsBadge": "Recommended download for your system",
+  "downloadsBadgeTitle": "Download ScummVM {version}",
   "downloadsXMLTitle": "Downloads for ScummVM",
   "downloadsXMLVersion": "version {release}",
   "downloadsBinaries": "{release} Release binaries",
diff --git a/templates/components/recommended_download.tpl b/templates/components/recommended_download.tpl
index f7fc70a1..1cc75cba 100644
--- a/templates/components/recommended_download.tpl
+++ b/templates/components/recommended_download.tpl
@@ -4,7 +4,7 @@
         <div id="downloadContainer">
             <a id="downloadButton" href={$recommendedDownload.url|download}>
                 <img src="/images/scummvm.png" alt="Download ScummVM icon">
-                <div class="downloadText">Download ScummVM {$recommendedDownload.ver}</div>
+                <div class="downloadText">{#downloadsBadgeTitle#|replace:'{version}':$recommendedDownload.ver}</div>
                 <div id="downloadDetails">{$recommendedDownload.os}{if $recommendedDownload.desc != ""} • {$recommendedDownload.desc}{/if}</div>
             </a>
         </div>




More information about the Scummvm-git-logs mailing list