From 6b8f088e278ff803a78f7942842313da84108e76 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 8 Aug 2024 14:01:40 +0200 Subject: Remove useless ‘Locale’ prefix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/printer.go | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/i18n/printer.go b/i18n/printer.go index bfed743..fc198f5 100644 --- a/i18n/printer.go +++ b/i18n/printer.go @@ -27,133 +27,133 @@ type Locale struct { var ( Locales = [...]Locale{ - Locale{ + { Code: "ca-AD", Name: "català", dateFmt: "2/1/2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "de-DE", Name: "Deutsch", dateFmt: "2.1.2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "el-GR", Name: "ελληνικά", dateFmt: "2/1/2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "en-GB", Name: "English", dateFmt: "02/01/2006", Eurozone: true, Enabled: true, }, - Locale{ + { Code: "es-ES", Name: "español", dateFmt: "2/1/2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "et-EE", Name: "eesti", dateFmt: "2.1.2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "fi-FI", Name: "suomi", dateFmt: "2.1.2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "fr-FR", Name: "français", dateFmt: "02/01/2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "ga-IE", Name: "Gaeilge", dateFmt: "02/01/2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "hr-HR", Name: "hrvatski", dateFmt: "02. 01. 2006.", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "it-IT", Name: "italiano", dateFmt: "02/01/2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "lb-LU", Name: "lëtzebuergesch", dateFmt: "2.1.2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "lt-LT", Name: "lietuvių", dateFmt: "2006-01-02", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "lv-LV", Name: "latviešu", dateFmt: "2.01.2006.", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "mt-MT", Name: "Malti", dateFmt: "2/1/2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "nl-NL", Name: "Nederlands", dateFmt: "2-1-2006", Eurozone: true, Enabled: true, }, - Locale{ + { Code: "pt-PT", Name: "português", dateFmt: "02/01/2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "sk-SK", Name: "slovenčina", dateFmt: "2. 1. 2006", Eurozone: true, Enabled: false, }, - Locale{ + { Code: "sl-SI", Name: "slovenščina", dateFmt: "2. 1. 2006", @@ -162,28 +162,28 @@ var ( }, /* Non-Eurozone locales */ - Locale{ + { Code: "bg-BG", Name: "български", dateFmt: "2.01.2006 г.", Eurozone: false, Enabled: false, }, - Locale{ + { Code: "en-US", Name: "English (US)", dateFmt: "1/2/2006", Eurozone: false, Enabled: false, }, - Locale{ + { Code: "ro-RO", Name: "română", dateFmt: "02.01.2006", Eurozone: false, Enabled: false, }, - Locale{ + { Code: "uk-UA", Name: "yкраїнська", dateFmt: "02.01.2006", -- cgit v1.2.3