From 337de5a64ea2960408e5437f5e2ec9221b409005 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 15 Sep 2026 14:12:40 +0930 Subject: [PATCH] fix pirate --- app/Console/Commands/Dev/ExportLanguages.php | 2 +- lang/locales.json | 10 +++++----- public/_lang/locales.json | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/Console/Commands/Dev/ExportLanguages.php b/app/Console/Commands/Dev/ExportLanguages.php index 4d40a9183..548cb7886 100644 --- a/app/Console/Commands/Dev/ExportLanguages.php +++ b/app/Console/Commands/Dev/ExportLanguages.php @@ -102,7 +102,7 @@ class ExportLanguages extends Command protected const LOCALE_OVERRIDES = [ // Crowdin custom "Pirate English". BCP-47 would read en-Pirate as // English, and the old en-PT code collided with English (Portugal). - 'en-Pirate' => ['name' => 'English (Pirate)', 'nativeName' => 'English (Pirate)'], + 'en-Pirate' => ['name' => 'Pirate (English)', 'nativeName' => 'Pirate (English)'], // Klingon. 'tlh' is valid BCP-47 (ICU renders "Klingon"), but ICU has // no native-name form, so pin both for a consistent label. Mapped from diff --git a/lang/locales.json b/lang/locales.json index 6a876d2c4..70586e698 100644 --- a/lang/locales.json +++ b/lang/locales.json @@ -84,11 +84,6 @@ "name": "Dutch (Netherlands)", "nativeName": "Nederlands (Nederland)" }, - { - "code": "en-Pirate", - "name": "English (Pirate)", - "nativeName": "English (Pirate)" - }, { "code": "en-US", "name": "English (United States)", @@ -254,6 +249,11 @@ "name": "Persian (Iran)", "nativeName": "فارسی (ایران)" }, + { + "code": "en-Pirate", + "name": "Pirate (English)", + "nativeName": "Pirate (English)" + }, { "code": "pl-PL", "name": "Polish (Poland)", diff --git a/public/_lang/locales.json b/public/_lang/locales.json index 6a876d2c4..70586e698 100644 --- a/public/_lang/locales.json +++ b/public/_lang/locales.json @@ -84,11 +84,6 @@ "name": "Dutch (Netherlands)", "nativeName": "Nederlands (Nederland)" }, - { - "code": "en-Pirate", - "name": "English (Pirate)", - "nativeName": "English (Pirate)" - }, { "code": "en-US", "name": "English (United States)", @@ -254,6 +249,11 @@ "name": "Persian (Iran)", "nativeName": "فارسی (ایران)" }, + { + "code": "en-Pirate", + "name": "Pirate (English)", + "nativeName": "Pirate (English)" + }, { "code": "pl-PL", "name": "Polish (Poland)",