Permalink
Browse files

adding some text domains

  • Loading branch information...
1 parent 7306f8c commit d562b88e793ef62e42da05bda70617d8d7cf109b Devin Reams committed Nov 21, 2011
@@ -31,7 +31,7 @@
wp_localize_script('anno-main', 'ANNO_DICTIONARY', array(
'previous' => __('Previous', 'anno'),
'next' => __('Next', 'anno'),
- 'xofy' => __('%1$s of %2$s')
+ 'xofy' => __('%1$s of %2$s', 'anno')
));
if ( is_singular() ) {
@@ -82,7 +82,7 @@ function anno_setup() {
register_sidebar(array_merge($sidebar_defaults, array(
'name' => __('Masthead Teasers', 'anno'),
'id' => 'masthead',
- 'description' => __('Display items on the home page masthead.'),
+ 'description' => __('Display items on the home page masthead.','anno'),
'before_widget' => '<aside id="%1$s" class="teaser clearfix %2$s">'
)));
// Customize the Carrington Core Admin Settings Form Title
@@ -251,7 +251,7 @@ function anno_comment_form_defaults($defaults) {
$fields = apply_filters('comment_form_default_fields', array(
'author' => '<p class="row author">' . '<label for="author">' . __('Your Name', 'anno') . $req_label . '</label> <input id="author" class="type-text" name="author" type="text" value="' . esc_attr($commenter['comment_author']) . '"' . $req_attr . '></p>',
'email' => '<p class="row email"><label for="email">' . __('Email Address', 'anno') . $req_label . '</label> <input id="email" class="type-text" name="email" type="email" value="' . esc_attr( $commenter['comment_author_email'] ) . '"' . $req_attr . '></p>',
- 'url' => '<p class="row url"><label for="url">' . __( 'Website' ) . '</label> <input id="url" class="type-text" name="url" type="url" value="' . esc_attr( $commenter['comment_author_url'] ) . '"></p>'
+ 'url' => '<p class="row url"><label for="url">' . __( 'Website', 'anno' ) . '</label> <input id="url" class="type-text" name="url" type="url" value="' . esc_attr( $commenter['comment_author_url'] ) . '"></p>'
));
$new = array(
@@ -746,7 +746,7 @@ function anno_user_email($user) {
function anno_invite_contributor($user_login, $user_email, $extra = array()) {
//@TODO, needs to be author as well here, not just the default WP
if (!current_user_can('create_users')) {
- wp_die(__('Cheatin&#8217; uh?'));
+ wp_die(__('Cheatin&#8217; uh?', 'anno'));
}
$current_user = wp_get_current_user();
@@ -27,7 +27,7 @@ public function __construct() {
'description' => __('Display the most recent posts and comments in a tabbed box.', 'anno'),
'classname' => 'widget-recent-posts'
);
- parent::__construct('anno_recently', __('Recently&hellip;'), $args);
+ parent::__construct('anno_recently', __('Recently&hellip;', 'anno'), $args);
$this->html_uid = uniqid('anno-recently');
@@ -7,9 +7,9 @@
class WP_Widget_Solvitor_Ad extends WP_Widget_Text {
function WP_Widget_Solvitor_Ad() {
- $widget_ops = array('classname' => 'widget_solvitor_ad', 'description' => __('A sidebar advertisement'));
+ $widget_ops = array('classname' => 'widget_solvitor_ad', 'description' => __('A sidebar advertisement', 'anno'));
$control_ops = array('width' => 400, 'height' => 350);
- $this->WP_Widget('advertisement', __('Advertisement'), $widget_ops, $control_ops);
+ $this->WP_Widget('advertisement', __('Advertisement', 'anno'), $widget_ops, $control_ops);
}
function widget( $args, $instance ) {
@@ -1376,7 +1376,7 @@ function import_upload_form( $action ) {
$size = wp_convert_bytes_to_hr( $bytes );
$upload_dir = wp_upload_dir();
if ( ! empty( $upload_dir['error'] ) ) :
- ?><div class="error"><p><?php _e('Before you can upload your import file, you will need to fix the following error:'); ?></p>
+ ?><div class="error"><p><?php _e('Before you can upload your import file, you will need to fix the following error:', 'anno'); ?></p>
<p><strong><?php echo $upload_dir['error']; ?></strong></p></div><?php
else :
?>
@@ -1392,12 +1392,12 @@ function import_upload_form( $action ) {
}
?>
<p>
- <label for="upload"><?php _e( 'Choose a file from your computer:' ); ?></label> (<?php printf( __('Maximum size: %s' ), $size ); ?>)
+ <label for="upload"><?php _e( 'Choose a file from your computer:', 'anno' ); ?></label> (<?php printf( __('Maximum size: %s' ), $size ); ?>)
<input type="file" id="upload" name="import" size="25" />
<input type="hidden" name="action" value="save" />
<input type="hidden" name="max_file_size" value="<?php echo $bytes; ?>" />
</p>
- <?php submit_button( __('Upload file and import'), 'button' ); ?>
+ <?php submit_button( __('Upload file and import','anno'), 'button' ); ?>
</form>
<?php
endif;
@@ -10,7 +10,7 @@ function cfpt_get_page_title() {
'search' => __('Search results for <b>%s</b>', 'cfpt'),
'tag' => __('Tag archives for <b>%s</b>', 'cfpt'),
'category' => __('Category archives for <b>%s</b>', 'cfpt'),
- 'author' => __('Author archives for <b>%s</b>'),
+ 'author' => __('Author archives for <b>%s</b>', 'cfpt'),
'date' => __('Archives for <b>%s</b>', 'cfpt')
));

0 comments on commit d562b88

Please sign in to comment.