1.1.1; added Dutch translation

This commit is contained in:
Joaquim Homrighausen
2023-01-23 08:35:59 +01:00
parent 8a9dddb61c
commit 97a8bdd444
5 changed files with 21 additions and 10 deletions
+6
View File
@@ -3,6 +3,12 @@ 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.1] - 2023-01-23
### Added
- Added Dutch translation (#1); thank you Jeroen van de Leur
## [1.1.0] - 2022-10-24
### Changed
+3 -2
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, and German. 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, 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 "string setup" is done in the `POM_initialSetup()` function.
@@ -76,6 +76,7 @@ If you would like to contribute to the translation, please open an issue and pos
## Credits
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:
The "cloud icon" comes from [Streamline](https://streamlinehq.com)
@@ -85,7 +86,7 @@ The "cloud icon" comes from [Streamline](https://streamlinehq.com)
**POMjs** is licensed under the GPLv2 license. See the [`LICENSE`](LICENSE) file for more details.
Copyright 2022 Joaquim Homrighausen.
Copyright 2022, 2023 Joaquim Homrighausen.
### Demo
+3 -5
View File
@@ -5,6 +5,7 @@
<meta name="description" content="Random Password Generator" lang="en">
<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="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">
@@ -13,6 +14,7 @@
<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>
<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">
@@ -23,7 +25,6 @@
own website, please be sure to change the fields accordingly,
thank you.
-->
<!--
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="POMjs - Random Password Generator" />
@@ -42,10 +43,9 @@
<meta name="twitter:description" content="Plain vanilla javascript random password generator" />
<meta name="twitter:image" content="/favicon/pomjs-logo.png" />
<script defer src="js/password-om.min.js" type="text/javascript" id="password-om"></script>
-->
</head>
<!--
POMjs 1.1.0
POMjs 1.1.1
Plain vanilla javascript for the "Öppet Moln" ("Open Cloud") random
password generator site (password.oppetmoln.se). For the sake of having
@@ -151,9 +151,7 @@
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>
+8 -2
View File
@@ -1,5 +1,5 @@
/**
* POMjs 1.1.0
* POMjs 1.1.1
*
* password-om.js
*
@@ -7,7 +7,7 @@
* generator site (password.oppetmoln.se). For the sake of having a name, it
* shall be POMjs. There's really nothing fancy going on here :-)
*
* Copyright 2022 Joaquim Homrighausen; All rights reserved.
* Copyright 2022, 2023 Joaquim Homrighausen; All rights reserved.
* Development sponsored by WebbPlatsen i Sverige AB
* https://www.webbplatsen.se
*
@@ -332,6 +332,12 @@ function POM_initialSetup() {
POM_cfgSlogan = 'Keine Cookies, <span style="display:inline-block">keine Tracker.</span><br/>Nur Passwörter.';
POM_cfgGenPasswordHint = 'Passwort generieren';
break;
case 'nl':
/* Thank you Jeroen van de Leur */
POM_cfgTitle = 'Willekeurig Wachtwoord Generator';
POM_cfgSlogan = 'Geen cookies, <span style="display:inline-block">geen trackers.</span><br/>Uitsluitend wachtwoorden.';
POM_cfgGenPasswordHint = 'Genereer wachtwoord';
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