Making WordPress.org

Changeset 8340


Ignore:
Timestamp:
02/24/2019 11:02:06 PM (6 years ago)
Author:
ocean90
Message:

Translate: Define locale variants in locales.php.

See #4206.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/locales/locales.php

    r8339 r8340  
    513513        $de->facebook_locale = 'de_DE';
    514514
     515        $de_formal = clone $de;
     516        $de_formal->english_name = 'German (Formal)';
     517        $de_formal->native_name = 'Deutsch (Sie)';
     518        $de_formal->slug = 'de/formal';
     519        $de_formal->wp_locale = 'de_DE_formal';
     520
    515521        $de_ch = new GP_Locale();
    516522        $de_ch->english_name = 'German (Switzerland)';
     
    521527        $de_ch->slug = 'de-ch';
    522528        $de_ch->google_code = 'de';
     529
     530        $de_ch_informal = $de_ch;
     531        $de_ch_informal->english_name = 'German (Switzerland, Informal)';
     532        $de_ch_informal->native_name = 'Deutsch (Schweiz, Du)';
     533        $de_ch_informal->slug = 'de-ch/informal';
     534        $de_ch_informal->wp_locale = 'de_CH_informal';
    523535
    524536        $dv = new GP_Locale();
     
    15911603        $nl->facebook_locale = 'nl_NL';
    15921604
     1605        $nl_formal = clone $nl;
     1606        $nl_formal->english_name = 'Dutch (Formal)';
     1607        $nl_formal->native_name = 'Nederlands (Formeel)';
     1608        $nl_formal->slug = 'nl/formal';
     1609        $nl_formal->wp_locale = 'nl_NL_formal';
     1610
    15931611        $nl_be = new GP_Locale();
    15941612        $nl_be->english_name = 'Dutch (Belgium)';
     
    17241742        $pt->facebook_locale = 'pt_PT';
    17251743
     1744        $pt_pt_ao90 = clone $pt;
     1745        $pt_pt_ao90->english_name = 'Portuguese (Portugal, AO90)';
     1746        $pt_pt_ao90->native_name = 'Português (AO90)';
     1747        $pt_pt_ao90->slug = 'pt/ao90';
     1748        $pt_pt_ao90->wp_locale = 'pt_PT_ao90';
     1749
    17261750        $ps = new GP_Locale();
    17271751        $ps->english_name = 'Pashto';
Note: See TracChangeset for help on using the changeset viewer.