From 4329a9f042fce3ec0179970ebeef346db6f17653 Mon Sep 17 00:00:00 2001 From: Avris Date: Fri, 11 Dec 2020 19:15:36 +0100 Subject: [PATCH] [flags] fix capitalisation --- locale/pl/translations.suml | 5 +++-- migrations/009-flags-capitalisation.sql | 11 +++++++++++ ...ender questioning.png => Gender Questioning.png} | Bin 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 migrations/009-flags-capitalisation.sql rename static/flags/{Gender questioning.png => Gender Questioning.png} (100%) diff --git a/locale/pl/translations.suml b/locale/pl/translations.suml index 2f6cceb7..7f63f4c4 100644 --- a/locale/pl/translations.suml +++ b/locale/pl/translations.suml @@ -956,7 +956,7 @@ flags: Androgyne: 'Androgyniczn{adjective_n}' Androsexual: 'Androseksualn{adjective_n}' Aporagender: 'Aporapłciow{adjective_n}' - Aroace: 'Aromantyczno-Aseksualn{adjective_n}' + Aroace: 'Aro-as' Aromantic: 'Aromantyczn{adjective_n}' Asexual: 'Aseksualn{adjective_n}' Autigender: 'Autypłciow{adjective_n}' # Autigenderow{adjective_n} @@ -974,7 +974,7 @@ flags: Diamoric: 'Diamoryczn{adjective_n}' Enbian: 'Enbiańsk{adjective_n_alt}' # Niebiańsk{adjective_n} Gay: 'Gej' - Gender_questioning: 'Kwestionując{adjective_n} swoją płeć' # Zastanawiając{adjective_n} się nad swoją płcią + Gender_Questioning: 'Kwestionując{adjective_n} swoją płeć' # Zastanawiając{adjective_n} się nad swoją płcią Genderfae: 'Nimficzn{adjective_n}' Genderfaun: 'Fauniczn{adjective_n}' Genderfluid: 'Płynnopłciow{adjective_n}' @@ -994,6 +994,7 @@ flags: Neutrois: 'Neutraln{adjective_n} płciowo' Nonbinary: 'Niebinarn{adjective_n}' Omnisexual: 'Omniseksualn{adjective_n}' + Oriented_Aroace: 'Zorientowan{adjective_n} aro-as' Pangender: 'Panpłciow{adjective_n}' # Pangenderow{adjective_n} Wszechpłciow{adjective_n} Pansexual: 'Panseksualn{adjective_n}' Polyamorous: 'Poliamoryczn{adjective_n}' diff --git a/migrations/009-flags-capitalisation.sql b/migrations/009-flags-capitalisation.sql new file mode 100644 index 00000000..8145509f --- /dev/null +++ b/migrations/009-flags-capitalisation.sql @@ -0,0 +1,11 @@ +-- Up + +UPDATE "profiles" +SET "flags" = replace("flags", 'questioning', 'Questioning') +WHERE "flags" LIKE '%questioning%' + +-- Down + +UPDATE "profiles" +SET "flags" = replace("flags", 'Questioning', 'questioning') +WHERE "flags" LIKE '%Questioning%' diff --git a/static/flags/Gender questioning.png b/static/flags/Gender Questioning.png similarity index 100% rename from static/flags/Gender questioning.png rename to static/flags/Gender Questioning.png