From 2fca51cb7c079fb97e6b19307d0d7650a7edd48c Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Mon, 16 Oct 2023 10:43:38 +0200 Subject: [PATCH] Add Dutch and Polish translations --- chat.php | 2 ++ locale/{nl => nl_NL}/LC_MESSAGES/le-chat-php.mo | Bin locale/{nl => nl_NL}/LC_MESSAGES/le-chat-php.po | 0 locale/{pl => pl_PL}/LC_MESSAGES/le-chat-php.mo | Bin locale/{pl => pl_PL}/LC_MESSAGES/le-chat-php.po | 0 5 files changed, 2 insertions(+) rename locale/{nl => nl_NL}/LC_MESSAGES/le-chat-php.mo (100%) rename locale/{nl => nl_NL}/LC_MESSAGES/le-chat-php.po (100%) rename locale/{pl => pl_PL}/LC_MESSAGES/le-chat-php.mo (100%) rename locale/{pl => pl_PL}/LC_MESSAGES/le-chat-php.po (100%) diff --git a/chat.php b/chat.php index bfce723..6462fe4 100644 --- a/chat.php +++ b/chat.php @@ -45,6 +45,8 @@ const LANGUAGES = [ 'hi' => ['name' => 'हिन्दी', 'locale' => 'hi', 'dir' => 'ltr'], 'id' => ['name' => 'Bahasa Indonesia', 'locale' => 'id_ID', 'dir' => 'ltr'], 'it' => ['name' => 'Italiano', 'locale' => 'it_IT', 'dir' => 'ltr'], + 'nl' => ['name' => 'Nederlands', 'locale' => 'nl_NL', 'dir' => 'ltr'], + 'pl' => ['name' => 'Polski', 'locale' => 'pl_PL', 'dir' => 'ltr'], 'pt' => ['name' => 'Português', 'locale' => 'pt_PT', 'dir' => 'ltr'], 'ru' => ['name' => 'Русский', 'locale' => 'ru_RU', 'dir' => 'ltr'], 'tr' => ['name' => 'Türkçe', 'locale' => 'tr_TR', 'dir' => 'ltr'], diff --git a/locale/nl/LC_MESSAGES/le-chat-php.mo b/locale/nl_NL/LC_MESSAGES/le-chat-php.mo similarity index 100% rename from locale/nl/LC_MESSAGES/le-chat-php.mo rename to locale/nl_NL/LC_MESSAGES/le-chat-php.mo diff --git a/locale/nl/LC_MESSAGES/le-chat-php.po b/locale/nl_NL/LC_MESSAGES/le-chat-php.po similarity index 100% rename from locale/nl/LC_MESSAGES/le-chat-php.po rename to locale/nl_NL/LC_MESSAGES/le-chat-php.po diff --git a/locale/pl/LC_MESSAGES/le-chat-php.mo b/locale/pl_PL/LC_MESSAGES/le-chat-php.mo similarity index 100% rename from locale/pl/LC_MESSAGES/le-chat-php.mo rename to locale/pl_PL/LC_MESSAGES/le-chat-php.mo diff --git a/locale/pl/LC_MESSAGES/le-chat-php.po b/locale/pl_PL/LC_MESSAGES/le-chat-php.po similarity index 100% rename from locale/pl/LC_MESSAGES/le-chat-php.po rename to locale/pl_PL/LC_MESSAGES/le-chat-php.po