Changeset 2291
- Timestamp:
- 01/12/2016 11:28:36 PM (9 years ago)
- Location:
- sites/trunk/api.wordpress.org/public_html
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/core/credits/index.php
r160 r2291 43 43 // Convert a locale from a WP locale to a GP locale. 44 44 if ( ( isset( $_GET['locale'] ) && 'en_US' != $_GET['locale'] ) || ( 'cli' == php_sapi_name() && isset( $argv[2] ) ) ) { 45 require WPORGPATH . 'translate/glotpress/locales/locales.php';45 require GLOTPRESS_LOCALES_PATH; 46 46 $gp_locale = GP_Locales::by_field( 'wp_locale', isset( $argv[2] ) ? $argv[2] : $_GET['locale'] ); 47 47 if ( $gp_locale ) { -
sites/trunk/api.wordpress.org/public_html/translations/lib.php
r1733 r2291 51 51 } 52 52 53 require_once WPORGPATH . 'translate/glotpress/locales/locales.php';53 require_once GLOTPRESS_LOCALES_PATH; 54 54 // Temporary: Add language variants to the list of GlotPress locales. 55 55 $GLOBALS['gp_locales'] = new GP_Locales;
Note: See TracChangeset
for help on using the changeset viewer.