Changeset 36603 for trunk/tools/i18n/t/data/add-textdomain-0-result.php
- Timestamp:
- 02/20/2016 09:43:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/i18n/t/data/add-textdomain-0-result.php
r36390 r36603 1 1 <?php 2 2 function call_some_i18n_methods() { 3 __( 'Hello World' , 'test-domain');4 _e( 'Hello World' , 'test-domain');5 _n( 'Single', 'Plural', 1 , 'test-domain');6 _n_noop( 'Single Noop', 'Plural Noop', 1 , 'test-domain');7 _x( 'Hello World', 'Testing' , 'test-domain');8 _ex( 'Hello World', 'Testing' , 'test-domain');9 _nx( 'Hello World', 'Testing' , 'test-domain');10 _nx_noop( 'Hello World Noop', 'Testing' , 'test-domain');11 esc_attr__( 'Attribute' , 'test-domain');12 esc_html__( 'HTML' , 'test-domain');13 esc_attr_e( 'Attribute' , 'test-domain');14 esc_html_e( 'HTML' , 'test-domain');15 esc_attr_x( 'Attribute', 'Testing' , 'test-domain');16 esc_html_x( 'HTML', 'Testing' , 'test-domain');17 translate_nooped_plural( 'Plural Noop', 2 , 'test-domain');3 __( 'Hello World', 'test-domain' ); 4 _e( 'Hello World', 'test-domain' ); 5 _n( 'Single', 'Plural', 1, 'test-domain' ); 6 _n_noop( 'Single Noop', 'Plural Noop', 1, 'test-domain' ); 7 _x( 'Hello World', 'Testing', 'test-domain' ); 8 _ex( 'Hello World', 'Testing', 'test-domain' ); 9 _nx( 'Hello World', 'Testing', 'test-domain' ); 10 _nx_noop( 'Hello World Noop', 'Testing', 'test-domain' ); 11 esc_attr__( 'Attribute', 'test-domain' ); 12 esc_html__( 'HTML', 'test-domain' ); 13 esc_attr_e( 'Attribute', 'test-domain' ); 14 esc_html_e( 'HTML', 'test-domain' ); 15 esc_attr_x( 'Attribute', 'Testing', 'test-domain' ); 16 esc_html_x( 'HTML', 'Testing', 'test-domain' ); 17 translate_nooped_plural( 'Plural Noop', 2, 'test-domain' ); 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.