| 64 | 'wp-frontend' => array( |
| 65 | 'description' => 'Translation of frontend strings in WordPress {version}', |
| 66 | 'copyright-holder' => 'WordPress', |
| 67 | 'package-name' => 'WordPress', |
| 68 | 'package-version' => '{version}', |
| 69 | ), |
| 70 | 'wp-site-admin' => array( |
| 71 | 'description' => 'Translation of site admin strings in WordPress {version}', |
| 72 | 'copyright-holder' => 'WordPress', |
| 73 | 'package-name' => 'WordPress', |
| 74 | 'package-version' => '{version}', |
| 75 | ), |
| 76 | 'wp-network-admin' => array( |
| 77 | 'description' => 'Translation of network admin strings in WordPress {version}', |
| 78 | 'copyright-holder' => 'WordPress', |
| 79 | 'package-name' => 'WordPress', |
| 80 | 'package-version' => '{version}', |
| 81 | ), |
| 82 | 'wp-user-admin' => array( |
| 83 | 'description' => 'Translation of user admin strings in WordPress {version}', |
| 84 | 'copyright-holder' => 'WordPress', |
| 85 | 'package-name' => 'WordPress', |
| 86 | 'package-version' => '{version}', |
| 87 | ), |
189 | | 'project' => 'wp-core', 'output' => $output, |
| 233 | 'project' => 'wp-frontend', 'output' => $output, |
| 234 | 'includes' => array(), 'excludes' => array( 'wp-admin/.*', 'wp-admin/includes/continents-cities\.php', 'wp-content/themes/twentyten/.*', 'wp-content/themes/twentyeleven/.*' ), |
| 235 | 'default_output' => 'wordpress.pot', |
| 236 | 'extract_not_gettexted' => false, |
| 240 | function wp_site_admin($dir, $output) { |
| 241 | return $this->wp_generic( $dir, array( |
| 242 | 'project' => 'wp-frontend', 'output' => $output, |
| 243 | 'includes' => array( 'wp-admin/.*' ), 'excludes' => array( 'wp-admin/network/.*', 'wp-admin/user/.*' ), |
| 244 | 'default_output' => 'wordpress.pot', |
| 245 | 'extract_not_gettexted' => false, |
| 246 | ) ); |
| 247 | } |
| 248 | |
| 249 | function wp_network_admin($dir, $output) { |
| 250 | return $this->wp_generic( $dir, array( |
| 251 | 'project' => 'wp-frontend', 'output' => $output, |
| 252 | 'includes' => array( 'wp-admin/network/.*' ), 'excludes' => array(), |
| 253 | 'default_output' => 'wordpress.pot', |
| 254 | 'extract_not_gettexted' => false, |
| 255 | ) ); |
| 256 | } |
| 257 | |
| 258 | function wp_user_admin($dir, $output) { |
| 259 | return $this->wp_generic( $dir, array( |
| 260 | 'project' => 'wp-frontend', 'output' => $output, |
| 261 | 'includes' => array( 'wp-admin/network/.*' ), 'excludes' => array(), |
| 262 | 'default_output' => 'wordpress.pot', |
| 263 | 'extract_not_gettexted' => false, |
| 264 | ) ); |
| 265 | } |
| 266 | |