1.1.2; added French, Luxembourgish, and Finnish translations

This commit is contained in:
Joaquim Homrighausen
2023-02-21 10:24:00 +01:00
parent 97a8bdd444
commit 5c7960dd95
5 changed files with 40 additions and 6 deletions
+8
View File
@@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.1.2] - 2023-02-21
### Added
- Added Luxembourgish (lb) translation (#2); thank you Alain Fontaine
- Added French (fr) translation (#3); thank you Alain Fontaine
- Added Finnish (fi) translation (PR#3); thank you Thomas Raehalme
## [1.1.1] - 2023-01-23
### Added
+3 -1
View File
@@ -67,7 +67,7 @@ Please note that `index.html` makes use of `password-om.min.css` by default.
### Translation
The (very) few strings can be translated. The distribution contains strings in English (default), Swedish, German, and Dutch. The code attempts to guess the language from the **navigator.language** properties. If they do not exist, or cannot be interpreted, the fallback language used is English.
The (very) few strings can be translated. The distribution contains strings in English (default), Swedish, German, Dutch, Finnish, French, and Luxembourgish. The code attempts to guess the language from the **navigator.language** properties. If they do not exist, or cannot be interpreted, the fallback language used is English.
The "string setup" is done in the `POM_initialSetup()` function.
@@ -77,6 +77,8 @@ If you would like to contribute to the translation, please open an issue and pos
Thanks to **Peter Hampf** (hello `O/T-Track` :metal:) for the German translation :blush:
Thanks to **Jeroen van de Leur** for the Dutch translation :blush:
Thanks to **Alain Fontaine** for the French and Luxembourgish translations :blush:
Thanks to **Thomas Raehalme** for the Finnish translations :blush:
The "cloud icon" comes from [Streamline](https://streamlinehq.com)
+9 -3
View File
@@ -6,6 +6,9 @@
<meta name="description" content="Slumpmässigt Lösenord" lang="sv">
<meta name="description" content="Zufallsgenerator für Passwörter" lang="de">
<meta name="description" content=“Willekeurig Wachtwoordgenerator" lang=“nl">
<meta name="description" content=“Zoufallspasswuertgenerator" lang=“lb">
<meta name="description" content=“Générateur de mot de passe au hazard" lang=“fr">
<meta name="description" content="Salasanageneraattori" lang="fi">
<meta name="keywords" content="password generator,random password,lösenord,slumpmässigt lösenord,öppet moln,öppen källkod">
<meta name="author" content="Joaquim Homrighausen">
<meta name="generator" content="POMjs">
@@ -14,7 +17,10 @@
<title lang="en">POMjs - Random Password Generator</title>
<title lang="sv">POMjs - Slumpmässigt Lösenord</title>
<title lang="de">POMjs - Zufallsgenerator für Passwörter</title>
<title lang=“nl">POMjs - Willekeurig Wachtwoordgenerator</title>
<title lang=“nl">POMjs - Willekeurig Wachtwoordgenerator</title>
<title lang=“lb">POMjs - Zoufallspasswuertgenerator</title>
<title lang=“fr">POMjs - Générateur de mot de passe au hazard</title>
<title lang=“fi">POMjs - Salasanageneraattori</title>
<link media="all" rel="stylesheet" href="css/normalize.min.css" />
<link media="all" rel="stylesheet" href="css/password-om.css" />
<meta name="robots" content="index,nofollow">
@@ -45,7 +51,7 @@
<script defer src="js/password-om.min.js" type="text/javascript" id="password-om"></script>
</head>
<!--
POMjs 1.1.1
POMjs 1.1.2
Plain vanilla javascript for the "Öppet Moln" ("Open Cloud") random
password generator site (password.oppetmoln.se). For the sake of having
@@ -150,8 +156,8 @@
You may, or may not, want to display this. If you put this up
on your own website, please be sure to change the content
accordingly, thank you.
-->
<p id="gen-hosted-by">Website hosted by <span style="display:inline-block"><a href="https://www.webbplatsen.se" target="_blank" tabindex="-1">WebbPlatsen i Sverige AB</a></span></p>
-->
<p><small>POMjs by Joaquim Homrighausen, <span style="display:inline-block">get it at <a href="https://github.com/joho1968/POMjs" target="_blank" tabindex="-1">GitHub</a> (GPLv2)</span></small></p>
<p id="gen-timestamp"></p>
</footer>
+19 -1
View File
@@ -1,5 +1,5 @@
/**
* POMjs 1.1.1
* POMjs 1.1.2
*
* password-om.js
*
@@ -338,6 +338,24 @@ function POM_initialSetup() {
POM_cfgSlogan = 'Geen cookies, <span style="display:inline-block">geen trackers.</span><br/>Uitsluitend wachtwoorden.';
POM_cfgGenPasswordHint = 'Genereer wachtwoord';
break;
case 'lb':
/* Thank you Alain Fontaine */
POM_cfgTitle = 'Zoufallspasswuertgenerator';
POM_cfgSlogan = 'Keng Cookien, <span style="display:inline-block">keng Trackeren.</span><br/>Nemme Passwierder.';
POM_cfgGenPasswordHint = 'Passwuert genereieren';
break;
case 'fr':
/* Thank you Alain Fontaine */
POM_cfgTitle = 'Générateur de mot de passe au hazard';
POM_cfgSlogan = 'Pas de cookies, <span style="display:inline-block">pas de traceurs.</span><br/>Juste des mots de passe.';
POM_cfgGenPasswordHint = 'Générer mot de passe';
break;
case 'fi':
/* Thank you Thomas Raehalme */
POM_cfgTitle = 'Salasanageneraattori';
POM_cfgSlogan = 'Ei evästeitä, <span style="display:inline-block">ei seurantaa.</span><br/>Vain salasanoja.';
POM_cfgGenPasswordHint = 'Generoi salasana';
break;
default:
POM_cfgTitle = 'Random Password Generator';
POM_cfgSlogan = 'No cookies, <span style="display:inline-block">no trackers.</span><br/>Just passwords.';
+1 -1
View File
File diff suppressed because one or more lines are too long