Skip to content

Commit

Permalink
[TAN-3208] Don't set 'en' fallback when no translation - YAGNI
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjagit committed Dec 9, 2024
1 parent 2b4381e commit a155d14
Showing 1 changed file with 3 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,135 +123,105 @@ class Utils120324
# I have a script to get these to get the translations from the front-end codebase,
# so I will update these if they change or if we change the selection of widgets we are inserting
# just before running the task
#
# If there is no translation for any locale, we simply don't insert a title for that locale,
# as our multiloc system will insert the en translation as a fallback

def finished_title
{
'ar-MA' => 'You said, we did...',
'lv-LV' => 'Jūs teicāt, mēs to darījām...',
'es-CL' => 'Lo que dijiste, lo que hicimos...',
'el-GR' => 'You said, we did...',
'en-CA' => 'You said, we did...',
'it-IT' => 'You said, we did...',
'ur-PK' => 'تم نے کہا ہم نے...',
'fr-BE' => 'La boucle est bouclée',
'nn-NO' => 'You said, we did...',
'es-ES' => 'Lo que dijiste, lo que hicimos...',
'tr-TR' => 'Sen söyledin, biz yaptık.',
'ar-SA' => 'لقد قلت، لقد فعلنا...',
'mi-NZ' => 'You said, we did...',
'en' => 'You said, we did...',
'hu-HU' => 'You said, we did...',
'en-IE' => 'You said, we did...',
'sv-SE' => 'Du sa, vi gjorde...',
'ro-RO' => 'You said, we did...',
'pa-IN' => 'ਤੁਸੀਂ ਕਿਹਾ, ਅਸੀਂ ਕੀਤਾ ...',
'lt-LT' => 'Jūs sakėte, mes tai padarėme...',
'pl-PL' => 'Powiedziałeś, zrobiliśmy...',
'nl-BE' => 'Jij zei, wij deden...',
'sr-Latn' => 'You said, we did...',
'kl-GL' => 'You said, we did...',
'hr-HR' => 'Rekli ste, jesmo...',
'da-DK' => 'Du sagde, vi gjorde...',
'nb-NO' => 'Du sa, vi gjorde...',
'pt-BR' => 'Você disse, nós fizemos...',
'de-DE' => 'Ihr habt gesagt, wir haben gemacht...',
'ca-ES' => 'You said, we did...',
'sr-SP' => 'You said, we did...',
'fr-FR' => 'La boucle est bouclée',
'mi' => 'You said, we did...',
'nl-NL' => 'Jij zei, wij deden...',
'en-GB' => 'You said, we did...',
'cy-GB' => 'Fe ddywedoch chi, fe wnaethon ni ...',
'fi-FI' => 'Sanoit, teimme...',
'lb-LU' => 'You said, we did...',
'ach-UG' => 'crwdns3621247:0crwdne3621247:0'
}
end

def open_to_title
{
'ar-MA' => 'Open to participation',
'lv-LV' => 'Atvērts dalībai',
'es-CL' => 'Abierto a la participación',
'el-GR' => 'Open to participation',
'en-CA' => 'Open to participation',
'it-IT' => 'Open to participation',
'ur-PK' => 'شرکت کے لیے کھلا ہے۔',
'fr-BE' => 'Ouvert à la participation',
'nn-NO' => 'Open to participation',
'es-ES' => 'Abierto a la participación',
'tr-TR' => 'Katılıma açık',
'ar-SA' => 'مفتوح للمشاركة',
'mi-NZ' => 'Open to participation',
'en' => 'Open to participation',
'hu-HU' => 'Open to participation',
'en-IE' => 'Open to participation',
'sv-SE' => 'Öppet för deltagande',
'ro-RO' => 'Open to participation',
'pa-IN' => 'ਭਾਗੀਦਾਰੀ ਲਈ ਖੁੱਲ੍ਹਾ ਹੈ',
'lt-LT' => 'Atviras dalyvavimas',
'pl-PL' => 'Otwarty na uczestnictwo',
'nl-BE' => 'Open voor deelname',
'sr-Latn' => 'Open to participation',
'kl-GL' => 'Open to participation',
'hr-HR' => 'Otvoren za sudjelovanje',
'da-DK' => 'Åben for deltagelse',
'nb-NO' => 'Åpent for deltakelse',
'pt-BR' => 'Aberto à participação',
'de-DE' => 'Offen für Beteiligung',
'ca-ES' => 'Open to participation',
'sr-SP' => 'Open to participation',
'fr-FR' => 'Ouvert à la participation',
'mi' => 'Open to participation',
'nl-NL' => 'Open voor deelname',
'en-GB' => 'Open to participation',
'cy-GB' => 'Agored i gymryd rhan',
'fi-FI' => 'Avoin osallistumiselle',
'lb-LU' => 'Open to participation',
'ach-UG' => 'crwdns3477979:0crwdne3477979:0'
}
end

def followed_title
{
'ar-MA' => 'For you',
'lv-LV' => 'Jums',
'es-CL' => 'Para ti',
'el-GR' => 'For you',
'en-CA' => 'For you',
'it-IT' => 'For you',
'ur-PK' => 'آپ کے لیے',
'fr-BE' => 'Pour vous',
'nn-NO' => 'For you',
'es-ES' => 'Para ti',
'tr-TR' => 'Senin için',
'ar-SA' => 'لك',
'mi-NZ' => 'For you',
'en' => 'For you',
'hu-HU' => 'For you',
'en-IE' => 'For you',
'sv-SE' => 'För dig',
'ro-RO' => 'For you',
'pa-IN' => 'ਤੁਹਾਡੇ ਲਈ',
'lt-LT' => 'Jums',
'pl-PL' => 'Dla Ciebie',
'nl-BE' => 'Voor jou',
'sr-Latn' => 'For you',
'kl-GL' => 'For you',
'hr-HR' => 'Za vas',
'da-DK' => 'For dig',
'nb-NO' => 'For deg',
'pt-BR' => 'Para você',
'de-DE' => 'Für Dich',
'ca-ES' => 'For you',
'sr-SP' => 'For you',
'fr-FR' => 'Pour vous',
'mi' => 'For you',
'nl-NL' => 'Voor jou',
'en-GB' => 'For you',
'cy-GB' => 'I chi',
'fi-FI' => 'Sinulle',
'lb-LU' => 'For you',
'ach-UG' => 'crwdns3573579:0crwdne3573579:0'
}
end
Expand Down

0 comments on commit a155d14

Please sign in to comment.