-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QTS: moved qts textdomain to qtranslate + general qtranslate pot/po/mo files re-alignment #1120
Conversation
@@ -102,8 +102,8 @@ function qts_show_form_field( $args = array() ) { | |||
case 'select': | |||
echo "<select id='$id' class='select$field_class' name='" . QTS_OPTIONS_NAME . "[$id]'>"; | |||
foreach ( $choices as $item ) { | |||
$value = esc_attr( $item, 'qts' ); | |||
$item = esc_html( $item, 'qts' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems the old calls were wrong with the domain being sent as 2d argument, but these functions only take 1 arg.
$sections['post_types'] = __( 'Post types', 'qts' ); | ||
$sections['taxonomies'] = __( 'Taxonomies', 'qts' ); | ||
$sections['post_types'] = __( 'Post types', 'qtranslate' ); | ||
$sections['taxonomies'] = __( 'Taxonomies', 'qtranslate' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could have re-used 'Taxonomy' from WP default domain, but no big deal.
Great! |
…1120) * remove qts textdomain, merge with qtranslate, cleanup * update all po/mo files with new pot file, include existing qts translations
No description provided.