Skip to content

Commit 5c7960d

Browse files
committed
1.1.2; added French, Luxembourgish, and Finnish translations
1 parent 97a8bdd commit 5c7960d

File tree

5 files changed

+40
-6
lines changed

5 files changed

+40
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
33

44
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).
55

6+
## [1.1.2] - 2023-02-21
7+
8+
### Added
9+
10+
- Added Luxembourgish (lb) translation (#2); thank you Alain Fontaine
11+
- Added French (fr) translation (#3); thank you Alain Fontaine
12+
- Added Finnish (fi) translation (PR#3); thank you Thomas Raehalme
13+
614
## [1.1.1] - 2023-01-23
715

816
### Added

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Please note that `index.html` makes use of `password-om.min.css` by default.
6767

6868
### Translation
6969

70-
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.
70+
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.
7171

7272
The "string setup" is done in the `POM_initialSetup()` function.
7373

@@ -77,6 +77,8 @@ If you would like to contribute to the translation, please open an issue and pos
7777

7878
Thanks to **Peter Hampf** (hello `O/T-Track` :metal:) for the German translation :blush:
7979
Thanks to **Jeroen van de Leur** for the Dutch translation :blush:
80+
Thanks to **Alain Fontaine** for the French and Luxembourgish translations :blush:
81+
Thanks to **Thomas Raehalme** for the Finnish translations :blush:
8082

8183
The "cloud icon" comes from [Streamline](https://streamlinehq.com)
8284

index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<meta name="description" content="Slumpmässigt Lösenord" lang="sv">
77
<meta name="description" content="Zufallsgenerator für Passwörter" lang="de">
88
<meta name="description" content=“Willekeurig Wachtwoordgenerator" lang=“nl">
9+
<meta name="description" content=“Zoufallspasswuertgenerator" lang=“lb">
10+
<meta name="description" content=“Générateur de mot de passe au hazard" lang=“fr">
11+
<meta name="description" content="Salasanageneraattori" lang="fi">
912
<meta name="keywords" content="password generator,random password,lösenord,slumpmässigt lösenord,öppet moln,öppen källkod">
1013
<meta name="author" content="Joaquim Homrighausen">
1114
<meta name="generator" content="POMjs">
@@ -14,7 +17,10 @@
1417
<title lang="en">POMjs - Random Password Generator</title>
1518
<title lang="sv">POMjs - Slumpmässigt Lösenord</title>
1619
<title lang="de">POMjs - Zufallsgenerator für Passwörter</title>
17-
<title lang=“nl">POMjs - Willekeurig Wachtwoordgenerator</title>
20+
<title lang=“nl">POMjs - Willekeurig Wachtwoordgenerator</title>
21+
<title lang=“lb">POMjs - Zoufallspasswuertgenerator</title>
22+
<title lang=“fr">POMjs - Générateur de mot de passe au hazard</title>
23+
<title lang=“fi">POMjs - Salasanageneraattori</title>
1824
<link media="all" rel="stylesheet" href="css/normalize.min.css" />
1925
<link media="all" rel="stylesheet" href="css/password-om.css" />
2026
<meta name="robots" content="index,nofollow">
@@ -45,7 +51,7 @@
4551
<script defer src="js/password-om.min.js" type="text/javascript" id="password-om"></script>
4652
</head>
4753
<!--
48-
POMjs 1.1.1
54+
POMjs 1.1.2
4955
5056
Plain vanilla javascript for the "Öppet Moln" ("Open Cloud") random
5157
password generator site (password.oppetmoln.se). For the sake of having
@@ -150,8 +156,8 @@ <h2 id="cfg-page-slogan"></h2>
150156
You may, or may not, want to display this. If you put this up
151157
on your own website, please be sure to change the content
152158
accordingly, thank you.
153-
-->
154159
<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>
160+
-->
155161
<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>
156162
<p id="gen-timestamp"></p>
157163
</footer>

js/password-om.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* POMjs 1.1.1
2+
* POMjs 1.1.2
33
*
44
* password-om.js
55
*
@@ -338,6 +338,24 @@ function POM_initialSetup() {
338338
POM_cfgSlogan = 'Geen cookies, <span style="display:inline-block">geen trackers.</span><br/>Uitsluitend wachtwoorden.';
339339
POM_cfgGenPasswordHint = 'Genereer wachtwoord';
340340
break;
341+
case 'lb':
342+
/* Thank you Alain Fontaine */
343+
POM_cfgTitle = 'Zoufallspasswuertgenerator';
344+
POM_cfgSlogan = 'Keng Cookien, <span style="display:inline-block">keng Trackeren.</span><br/>Nemme Passwierder.';
345+
POM_cfgGenPasswordHint = 'Passwuert genereieren';
346+
break;
347+
case 'fr':
348+
/* Thank you Alain Fontaine */
349+
POM_cfgTitle = 'Générateur de mot de passe au hazard';
350+
POM_cfgSlogan = 'Pas de cookies, <span style="display:inline-block">pas de traceurs.</span><br/>Juste des mots de passe.';
351+
POM_cfgGenPasswordHint = 'Générer mot de passe';
352+
break;
353+
case 'fi':
354+
/* Thank you Thomas Raehalme */
355+
POM_cfgTitle = 'Salasanageneraattori';
356+
POM_cfgSlogan = 'Ei evästeitä, <span style="display:inline-block">ei seurantaa.</span><br/>Vain salasanoja.';
357+
POM_cfgGenPasswordHint = 'Generoi salasana';
358+
break;
341359
default:
342360
POM_cfgTitle = 'Random Password Generator';
343361
POM_cfgSlogan = 'No cookies, <span style="display:inline-block">no trackers.</span><br/>Just passwords.';

0 commit comments

Comments
 (0)