Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixes Issue: #83 WP text-domain #86

Merged
merged 1 commit into from Nov 3, 2013
Jump to file or symbol
Failed to load files and symbols.
+8 −6
Split
View
@@ -6,6 +6,8 @@
Version: 1.050
Author: Raven Internet Marketing Tools
Author URI: http://raventools.com/?utm_source=wp&utm_medium=plugin&utm_campaign=schema
+Text Domain: schema
+Domain path: /languages
License: GPL v2
This program is free software; you can redistribute it and/or modify
@@ -495,7 +497,7 @@ public function do_page() {
<?php settings_fields( 'schema_options' ); ?>
<?php do_settings_sections('schema_options'); ?>
<p class="submit">
- <input name="Submit" type="submit" class="button-primary" value="<?php esc_attr_e('Save Changes'); ?>" />
+ <input name="Submit" type="submit" class="button-primary" value="<?php esc_attr_e('Save Changes', 'schema'); ?>" />
</p>
</form>
</div> <!-- end .schema_options -->
@@ -1406,13 +1408,13 @@ public function media_button() {
if ($version < 3.5) {
// show button for v 3.4 and below
- echo '<a href="#TB_inline?width=650&inlineId=schema_build_form" class="thickbox schema_clear schema_one" id="add_schema" title="' . __('Schema Creator Form') . '">' .
+ echo '<a href="#TB_inline?width=650&inlineId=schema_build_form" class="thickbox schema_clear schema_one" id="add_schema" title="' . __('Schema Creator Form', 'schema') . '">' .
__('Schema Creator Form', 'schema' ) .
'</a>';
} else {
// display button matching new UI
$img = '<span class="schema-media-icon"></span> ';
- echo '<a href="#TB_inline?width=650&inlineId=schema_build_form" class="thickbox schema_clear schema_two button" id="add_schema" title="' . esc_attr__( 'Add Schema' ) . '">' .
+ echo '<a href="#TB_inline?width=650&inlineId=schema_build_form" class="thickbox schema_clear schema_two button" id="add_schema" title="' . esc_attr__( 'Add Schema', 'schema' ) . '">' .
$img . __( 'Add Schema', 'schema' ) .
'</a>';
}
@@ -2365,8 +2367,8 @@ function InsertSchema() {
<!-- button for inserting -->
<div class="insert_button" style="display:none">
- <input class="schema_insert schema_button" type="button" value="<?php _e('Insert'); ?>" onclick="InsertSchema();"/>
- <input class="schema_cancel schema_clear schema_button" type="button" value="<?php _e('Cancel'); ?>" onclick="tb_remove(); return false;"/>
+ <input class="schema_insert schema_button" type="button" value="<?php _e('Insert', 'schema'); ?>" onclick="InsertSchema();"/>
+ <input class="schema_cancel schema_clear schema_button" type="button" value="<?php _e('Cancel', 'schema'); ?>" onclick="tb_remove(); return false;"/>
</div>
<!-- various messages -->
@@ -2385,4 +2387,4 @@ function InsertSchema() {
// Instantiate our class
$ravenSchema = new RavenSchema();
-endif;
+endif;