Skip to content

Commit

Permalink
1.1.1; added Dutch translation
Browse files Browse the repository at this point in the history
  • Loading branch information
joho1968 committed Jan 23, 2023
1 parent 8a9dddb commit 97a8bdd
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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)

Expand All @@ -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

Expand Down
8 changes: 3 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand All @@ -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">
Expand All @@ -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" />
Expand All @@ -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
Expand Down Expand Up @@ -151,9 +151,7 @@ <h2 id="cfg-page-slogan"></h2>
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>
Expand Down
10 changes: 8 additions & 2 deletions js/password-om.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* POMjs 1.1.0
* POMjs 1.1.1
*
* password-om.js
*
* Plain vanilla javascript for the "Öppet Moln" ("Open Cloud") random password
* 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
*
Expand Down Expand Up @@ -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.';
Expand Down
2 changes: 1 addition & 1 deletion js/password-om.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97a8bdd

Please sign in to comment.