Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating Translation domain

  • Loading branch information...
commit c035bc62621be3a326d4eb4ed8f7888829bebc3b 1 parent 4c73e65
Andy Adams authored
View
2  classes/struts/option/color.php
@@ -25,7 +25,7 @@ protected function standard_validation( $value ) {
protected function label_html() {
if ( $this->label() ) {
echo "<label class='struts-label' for='{$this->html_id()}'>{$this->label()} ";
- echo '<a href="#" class="struts-color-chooser-toggle">' . __( 'show color picker' ) . '</a>';
+ echo '<a href="#" class="struts-color-chooser-toggle">' . __( 'show color picker', 'struts' ) . '</a>';
echo "</label>";
}
}
View
6 classes/struts/options.php
@@ -242,8 +242,8 @@ public function echo_form_html() { ?>
$this->do_options_html();
?>
<div class="struts-buttons-container">
- <input type="submit" class="button-primary struts-save-button" value="<?php esc_attr_e('Save Settings'); ?>" />
- <input type="submit" class="button-secondary struts-reset-button" value="<?php esc_attr_e('Reset Defaults'); ?>" />
+ <input type="submit" class="button-primary struts-save-button" value="<?php esc_attr_e( 'Save Settings', 'struts' ); ?>" />
+ <input type="submit" class="button-secondary struts-reset-button" value="<?php esc_attr_e( 'Reset Defaults', 'struts' ); ?>" />
</div>
</form>
</div>
@@ -252,7 +252,7 @@ public function echo_form_html() { ?>
public function settings_updated_html() {
if ( isset( $_GET['settings-updated'] ) )
- return "<div class='updated'><p>Theme settings updated successfully.</p></div>";
+ return "<div class='updated'><p>" . __( "Theme settings updated successfully.", 'struts' ) . "</p></div>";
}
public function do_options_html() {
View
4 classes/struts/section.php
@@ -73,14 +73,14 @@ public function add_option( Struts_Option $option ) {
public function to_html() {
echo "<div class='struts-section'>";
- echo "<h3>{$this->title()} <a href='#'>" . __( 'Edit' ) . '</a></h3>';
+ echo "<h3>{$this->title()} <a href='#'>" . __( 'Edit', 'struts' ) . '</a></h3>';
echo "<div class='struts-section-body clear'>";
foreach ( $this->options() as $option ) {
$option->to_html();
}
echo '<div class="struts-save-button submit">';
- echo '<input type="submit" class="button-primary struts-save-button" value="' . __( 'Save changes' ) . '" />';
+ echo '<input type="submit" class="button-primary struts-save-button" value="' . __( 'Save changes', 'struts' ) . '" />';
echo "</div></div></div>";
Please sign in to comment.
Something went wrong with that request. Please try again.