Skip to content

Commit

Permalink
Added i18n for update popup window
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRaven2000 committed Oct 13, 2020
1 parent 0a6fa11 commit cec4ceb
Show file tree
Hide file tree
Showing 11 changed files with 1,274 additions and 735 deletions.
189 changes: 189 additions & 0 deletions _locales/de/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
{
"extensionName": {
"message": "QuickFolders",
"description": "Name of the extension."
},

"extensionDescription": {
"message": "Ordner als Tabs - vereinfacht das Chaos im Verzeichnisbaum indem die wichtigsten Ordner zu Tabs gemacht werden.",
"description": "Description of the extension."
},

"notificationTitle": {
"message": "Click notification",
"description": "Title of the click notification."
},


"window-title": {
"message": "Willkommen bei $addonName$",
"description": "Seitentitel. Der erste placeholder wird durch den Add-on Namen ersetzt",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"heading-updated": {
"message": "$addonName$ wurde erfolgreich aktualisiert",
"description": "Seitenheader. Der erste placeholder wird durch den Add-on Namen ersetzt",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"heading-installed": {
"message": "$addonName$ wurde erfolgreich installiert",
"description": "Seitenheader. Der erste placeholder wird durch den Add-on Namen ersetzt",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"thanks-for-updating-intro": {
"message": "Danke dass Sie $addonName$ aktualisiert haben.",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"thanks-for-installing-intro": {
"message": "Danke dass Sie $addonName$ installiert haben.",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},


"active-version-info" : {
"message":"Es läuft jetzt {boldStart} Version $addonVer$ {boldEnd} auf Thunderbird $appVer$.",
"description": "The boldStart and boldEnd parts will be replaced with html tags",
"placeholders": {
"addonVer" : {
"content" : "$1",
"example" : "5.0.1"
},
"appVer" : {
"content" : "$2",
"example" : "78.0b4"
}

}
},

"time-and-effort": {
"message": "Meine Add-Ons erfordern grundlegende Änderungen, um mit der Mozilla-Plattform kompatibel zu bleiben. Mein Entwicklungsteam auf Github (Realraven2000, opto und paenglab) arbeitet fleißig daran, die volle Funktionalität für $addonName$ wiederherzustellen.",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"hours-effort" : {
"message": "Wir haben bereits erhebliche Ressourcen (über $hoursSpent$ Stunden) für das Konvertierungsprojekt aufgewendet - und es gibt mehr Arbeit bei der Behebung von Regressionen und Problemen, die durch Änderungen in Thunderbird verursacht werden.",
"placeholders": {
"hoursSpent" : {
"content" : "$1",
"example" : "250"
}
}
},

"support-suggestion" : {
"message": "Damit $addonName$ weiterhin funktionsfähig und lebendig bleiben kann, tun Sie ihm bitte einen entscheidenden Gefallen:",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
} ,

"purchase-a-license" : {
"message" : "Kaufen Sie eine Lizenz."
},

"donate" : {
"message" : "Helfen Sie mit einer einmaligen Spende."
},

"purchase-heading" : {
"message" : "Lizenz kaufen!"
},

"support-preference" : {
"message": "Dies ist die bevorzugte Methode zur Unterstützung von $addonName$.",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"ongoing-work": {
"message": "Die notwendigen Änderungen, um auf das neue Modell ohne Legacy (Mail-Experiment) umzusteigen, haben bereits mehrere Wochen gedauert und dauern noch an, während wir möglicherweise einige Funktionen verlieren werden. Mit einem komplexen Add-On wie diesem wird teure Arbeit unvermeidlich."
},


"btn-want-a-license": {
"message" : "Ich möchte eine Lizenz kaufen"
} ,

"donate-heading" : {
"message" : "Helfen durch Spenden!"
} ,

"cost-of-independence" : {
"message" : "Softwareentwicklung kostet Zeit und Geld - im Gegensatz zu vielen Plattform-Apps werden Add-Ons weder von großen Unternehmen geschrieben noch in irgendeiner Weise von Mozilla gesponsert."
} ,

"mozillas-basic-platform" : {
"message" : "Mozilla bietet nur eine Basis-Plattform, um unsere Software für Sie als Endbenutzer weiterzuleiten. Wenn wir unsere Benutzer um Zahlung oder Support bitten müssen, können wir dies nicht über addons.thunderbird.net tun - es handelt sich nicht um einen App Store mit integrierten Paywalls oder Lizenzverwaltung wie iTunes oder Google Play."
} ,

"addon-authors-struggle" : {
"message" : "Um weiterhin nützlich zu sein, müssen Add-On-Entwickler nun vermehrt die für die Reparatur und das Umschreiben erforderlichen Mittel aufbringen, damit unsere Benutzer weiterhin von den Funktionen profitieren können, die wir an den Tisch bringen."
} ,

"btn-want-to-donate" : {
"message" : "Ich möchte mit einer einmaligen Spende helfen."
} ,

"label-remind-me" : {
"message": "Erinnern Sie mich noch einmal in $ countDays $ Tagen.",
"placeholders": {
"countDays" : {
"content" : "$1",
"example" : "10"
}
}
},

"notificationContent": {
"message": "You clicked $URL$.",
"description": "Tells the user which link they clicked.",
"placeholders": {
"url" : {
"content" : "$1",
"example" : "https://developer.mozilla.org"
}
}
}
}
188 changes: 188 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
{
"extensionName": {
"message": "QuickFolders",
"description": "Name of the extension."
},

"extensionDescription": {
"message": "Bookmark your favorite mail folders in Thunderbird.",
"description": "Description of the extension."
},

"notificationTitle": {
"message": "Click notification",
"description": "Title of the click notification."
},

"window-title": {
"message": "Welcome to $addonName$",
"description": "page title. first placeholder will be replaced with Add-on name",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"heading-updated": {
"message": "$addonName$ Updated Successfully",
"description": "page heading. first placeholder will be replaced with Add-on name",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"heading-installed": {
"message": "Successfully installed $addonName$",
"description": "page heading. first placeholder will be replaced with Add-on name",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},


"thanks-for-updating-intro": {
"message": "Thank you for updating $addonName$.",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"thanks-for-installing-intro": {
"message": "Thank you for installing $addonName$.",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"active-version-info" : {
"message": "You are now running {boldStart} version $addonVer$ {boldEnd} on Thunderbird $appVer$.",
"description": "The boldStart and boldEnd parts will be replaced with html tags",
"placeholders": {
"addonVer" : {
"content" : "$1",
"example" : "Version 1.1"
},
"appVer" : {
"content" : "$2",
"example" : "78.0b4"
}

}
},

"time-and-effort": {
"message": "My Add-ons require fundamental changes in order to remain compatible with the Mozilla platform. My development team at Github (Realraven2000, opto and paenglab) is working diligently to restore full functionality for $addonName$ .",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"hours-effort" : {
"message": "We have already spent significant resources (over $hoursSpent$ hours) on the conversion project - and there is more work in fixing regressions and issues caused by changes in Thunderbird.",
"placeholders": {
"hoursSpent" : {
"content" : "$1",
"example" : "250"
}
}
},

"support-suggestion" : {
"message": "So that $addonName$ stays functional and alive, please do it a vital favor:",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"purchase-a-license" : {
"message" : "Purchase a license."
},

"donate" : {
"message" : "Help out with a one time donation."
},

"purchase-heading" : {
"message" : "Buying a License!"
},

"support-preference" : {
"message": "This is the preferred way of supporting $addonName$.",
"placeholders": {
"addonName" : {
"content" : "$1",
"example" : "quickFilters"
}
}
},

"ongoing-work": {
"message": "The necessary alterations to switch to the new legacy-less model (mail experiment) already took multiple weeks and are still ongoing, while it is possible that we will be losing some functionality. With a complex Add-on like this, expensive work becomes inevitable."
},

"btn-want-a-license": {
"message" : "I want to buy a license"
} ,

"donate-heading" : {
"message" : "Help by Donating!"
} ,

"cost-of-independence" : {
"message" : "Software development costs time and money - unlike many platform apps, Add-ons are not written by large corporations, nor are they sponsored in any way by Mozilla."
} ,

"mozillas-basic-platform" : {
"message" : "Mozilla only provides a basic platform for delivering our software to you, the end users. If we need to ask our users for payment or support we cannot do this from addons.thunderbird.net - it is not an 'app store' with built in paywalls or license management like iTunes or google play."
} ,

"addon-authors-struggle" : {
"message" : "To continue to be useful, Add-on developers now need to step up the resources needed to fix and rewrite so that our users can keep benefiting from the functionality we bring to the table."
} ,

"btn-want-to-donate" : {
"message" : "I want to help with a one time donation."
} ,

"label-remind-me" : {
"message": "Remind me again in $countDays$ days.",
"placeholders": {
"countDays" : {
"content" : "$1",
"example" : "10"
}
}
},


"notificationContent": {
"message": "You clicked $URL$.",
"description": "Tells the user which link they clicked.",
"placeholders": {
"url" : {
"content" : "$1",
"example" : "https://developer.mozilla.org"
}
}
}
}
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set /a quickFoldersRev+=1
REM replace previous rev with new
pwsh -Command "(gc -en UTF8NoBOM manifest.json) -replace 'pre%oldRev%', 'pre%quickFoldersRev%' | Out-File manifest.json"
rem "C:\Program Files\7-Zip\7z" a -xr!.svn quickFolders.zip install.rdf chrome.manifest chrome defaults license.txt
"C:\Program Files\7-Zip\7z" a -xr!.svn QuickFoldersWeb.zip manifest.json chrome.manifest chrome defaults popup license.txt qf-background.js release-notes.html
"C:\Program Files\7-Zip\7z" a -xr!.svn QuickFoldersWeb.zip manifest.json _locales chrome defaults popup license.txt *.js release-notes.html
echo %quickFoldersRev% > revision.txt
move QuickFolders*.xpi "..\..\..\Release\_Test Versions\5.0\"
pwsh -Command "Start-Sleep -m 150"
Expand Down
Loading

0 comments on commit cec4ceb

Please sign in to comment.