Skip to content

Wallos: Open-source, self-hostable personal subscription tracker. Visualize your recurring expenses, manage your budget, and save money.

feat: add vietnamese translation (#573)

Miguel Ribeiro45ff10f953f4
diff --git a/README.md b/README.md
index 49f0bc6..8f717ac 100644
--- a/README.md
+++ b/README.md
@@ -171,10 +171,10 @@ I welcome contributions from the community and look forward to working with you
### Translations
If you want to contribute with a translation of wallos:
-- Add your language code to `includes/i18n/languages.php` in the format `"en" => "English"`. Please use the original language name and not the english translation.
-- Create a copy of the file `includes/i18n/en.php` and rename it to the language code you used above. Example: pt.php for "pt" => "Português".
+- Add your language code to `includes/i18n/languages.php` in the format `"en" => ["name" => "English", "dir" => "ltr"],`. Please use the original language name and not the english translation.
+- Create a copy of the file `includes/i18n/en.php` and rename it to the language code you used above. Example: pt.php for "pt" => ["name" => "Português", "dir" => "ltr"],.
- Translate all the values on the language file to the new language. (Incomplete translations will not be accepted).
-- Create a copy of the file `scripts/i18n/en.js` and rename it to the language code you used above. Example: pt.js for "pt" => "Português".
+- Create a copy of the file `scripts/i18n/en.js` and rename it to the language code you used above. Example: pt.js for "pt" => ["name" => "Português", "dir" => "ltr"],.
- Translate all the values on the language file to the new language. (Incomplete translations will not be accepted).
## License
diff --git a/includes/version.php b/includes/version.php
index 5efb522..a2c44d9 100644
--- a/includes/version.php
+++ b/includes/version.php
@@ -1,3 +1,3 @@
<?php
-$version = "v2.29.2";
+$version = "v2.30.0";
?>
\ No newline at end of file
diff --git a/passwordreset.php b/passwordreset.php
index f537ec5..a6d7066 100644
--- a/passwordreset.php
+++ b/passwordreset.php
@@ -239,6 +239,4 @@ if (isset($_POST['password']) && $_POST['password'] != "" && isset($_POST['confi
</script>
</body>
-</html>
-
-?>
\ No newline at end of file
+</html>
\ No newline at end of file
diff --git a/service-worker.js b/service-worker.js
index 58a6b2f..3bd9c24 100644
--- a/service-worker.js
+++ b/service-worker.js
@@ -55,6 +55,7 @@ self.addEventListener('install', function (event) {
'scripts/i18n/sr_lat.js',
'scripts/i18n/sr.js',
'scripts/i18n/tr.js',
+ 'scripts/i18n/vi.js',
'scripts/i18n/zh_cn.js',
'scripts/i18n/zh_tw.js',
'scripts/i18n/getlang.js',