mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-21 08:59:14 +01:00
feat: enable Dutch (Nederlands) language choice
This commit is contained in:
@@ -163,7 +163,7 @@ AUTH_USER_MODEL = "users.User"
|
||||
LANGUAGE_CODE = "en"
|
||||
LANGUAGES = (
|
||||
("en", "English"),
|
||||
# ("nl", "Nederlands"),
|
||||
("nl", "Nederlands"),
|
||||
("pt-br", "Português (Brasil)"),
|
||||
)
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.1.5 on 2025-01-25 18:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0015_alter_usersettings_language'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='usersettings',
|
||||
name='language',
|
||||
field=models.CharField(choices=[('auto', 'Auto'), ('en', 'English'), ('nl', 'Nederlands'), ('pt-br', 'Português (Brasil)')], default='auto', max_length=10, verbose_name='Language'),
|
||||
),
|
||||
]
|
||||
@@ -2,25 +2,17 @@
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
<<<<<<< HEAD
|
||||
"POT-Creation-Date: 2025-01-22 13:17+0000\n"
|
||||
"PO-Revision-Date: 2025-01-25 18:43+0100\n"
|
||||
"Last-Translator: Dimitri Decrock <dimitri@fam-decrock.eu>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: nl\n"
|
||||
=======
|
||||
"POT-Creation-Date: 2025-01-25 16:51+0000\n"
|
||||
"POT-Creation-Date: 2025-01-25 18:49+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
>>>>>>> c9d1b5b5f39ec7c11a75a90d37c0a99ad6976b1d
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
@@ -568,7 +560,7 @@ msgstr ""
|
||||
#: templates/installment_plans/fragments/list.html:24
|
||||
#: templates/recurring_transactions/fragments/list.html:27
|
||||
msgid "Finished"
|
||||
msgstr ""
|
||||
msgstr "Voltooid"
|
||||
|
||||
#: apps/import_app/models.py:54
|
||||
msgid "Status"
|
||||
@@ -1535,48 +1527,22 @@ msgstr "Alles selecteren"
|
||||
msgid "Unselect All"
|
||||
msgstr "Alles deselecteren"
|
||||
|
||||
<<<<<<< HEAD
|
||||
#: templates/cotton/ui/transactions_action_bar.html:34
|
||||
msgid "Mark as paid"
|
||||
msgstr "Markeren als betaald"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:41
|
||||
msgid "Mark as unpaid"
|
||||
msgstr "Markeren als niet betaald"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:54
|
||||
msgid "Yes, delete them!"
|
||||
msgstr "Ja, verwijder ze!"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:101
|
||||
#: templates/cotton/ui/transactions_action_bar.html:125
|
||||
#: templates/cotton/ui/transactions_action_bar.html:145
|
||||
#: templates/cotton/ui/transactions_action_bar.html:165
|
||||
#: templates/cotton/ui/transactions_action_bar.html:185
|
||||
#: templates/cotton/ui/transactions_action_bar.html:205
|
||||
#: templates/cotton/ui/transactions_action_bar.html:225
|
||||
msgid "copied!"
|
||||
msgstr "gekopieerd!"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:110
|
||||
=======
|
||||
#: templates/cotton/ui/transactions_action_bar.html:48
|
||||
#: templates/cotton/ui/transactions_action_bar.html:139
|
||||
>>>>>>> c9d1b5b5f39ec7c11a75a90d37c0a99ad6976b1d
|
||||
msgid "Toggle Dropdown"
|
||||
msgstr "In- Uitklapbaar"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:56
|
||||
msgid "Mark as unpaid"
|
||||
msgstr ""
|
||||
msgstr "Markeren als niet betaald"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:63
|
||||
msgid "Mark as paid"
|
||||
msgstr ""
|
||||
msgstr "Markeren als betaald"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:84
|
||||
msgid "Yes, delete them!"
|
||||
msgstr ""
|
||||
msgstr "Ja, verwijder ze!"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:130
|
||||
#: templates/cotton/ui/transactions_action_bar.html:154
|
||||
@@ -1586,7 +1552,7 @@ msgstr ""
|
||||
#: templates/cotton/ui/transactions_action_bar.html:234
|
||||
#: templates/cotton/ui/transactions_action_bar.html:254
|
||||
msgid "copied!"
|
||||
msgstr ""
|
||||
msgstr "gekopieerd!"
|
||||
|
||||
#: templates/cotton/ui/transactions_action_bar.html:147
|
||||
msgid "Flat Total"
|
||||
@@ -1608,12 +1574,8 @@ msgstr "Maximaal"
|
||||
msgid "Min"
|
||||
msgstr "Minimaal"
|
||||
|
||||
<<<<<<< HEAD
|
||||
#: templates/cotton/ui/transactions_action_bar.html:218
|
||||
#, fuzzy
|
||||
=======
|
||||
#: templates/cotton/ui/transactions_action_bar.html:247
|
||||
>>>>>>> c9d1b5b5f39ec7c11a75a90d37c0a99ad6976b1d
|
||||
#, fuzzy
|
||||
msgid "Count"
|
||||
msgstr "Rekenen"
|
||||
|
||||
@@ -1972,14 +1934,6 @@ msgstr "Afbetalingsplan toevoegen"
|
||||
msgid "Edit installment plan"
|
||||
msgstr "Afbetalingsplan bewerken"
|
||||
|
||||
<<<<<<< HEAD
|
||||
#: templates/installment_plans/fragments/list.html:24
|
||||
#: templates/recurring_transactions/fragments/list.html:27
|
||||
msgid "Finished"
|
||||
msgstr "Voltooid"
|
||||
|
||||
=======
|
||||
>>>>>>> c9d1b5b5f39ec7c11a75a90d37c0a99ad6976b1d
|
||||
#: templates/installment_plans/fragments/list_transactions.html:5
|
||||
#: templates/installment_plans/fragments/table.html:35
|
||||
msgid "Installments"
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
import AirDatepicker from 'air-datepicker';
|
||||
import en from 'air-datepicker/locale/en';
|
||||
import ptBr from 'air-datepicker/locale/pt-BR';
|
||||
import nl from 'air-datepicker/locale/nl';
|
||||
import {createPopper} from '@popperjs/core';
|
||||
|
||||
const locales = {
|
||||
'pt': ptBr,
|
||||
'en': en
|
||||
'en': en,
|
||||
'nl': nl
|
||||
};
|
||||
|
||||
function isMobileDevice() {
|
||||
|
||||
Reference in New Issue
Block a user