Skip to content
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

started localization #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions includes/categories-importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<div class="oer_imprtrwpr">
<form method="post" enctype="multipart/form-data" action="<?php echo esc_url( admin_url('admin.php') ); ?>" onsubmit="return processImport('#subject_submit','bulk_import')">
<fieldset>
<legend><div class="oer_heading"><?php _e("Import Subject Areas", OER_SLUG); ?></div></legend>
<legend><div class="oer_heading"><?php _e("Import Subject Areas", 'wp-oer'); ?></div></legend>
<div class="oer-import-row">
<div class="row-left">
<?php _e("Easily setup resource subject areas. See the spreadsheet template for data format specifications.", OER_SLUG); ?>
<?php _e("Easily setup resource subject areas. See the spreadsheet template for data format specifications.", 'wp-oer'); ?>
</div>
<div class="row-right alignRight">
<a href="<?php echo esc_url(OER_URL."samples/subject_area_import.xls"); ?>" target="_blank"><?php _e("Download Spreadsheet Template", OER_SLUG); ?></a>
<a href="<?php echo esc_url(OER_URL."samples/subject_area_import.xls"); ?>" target="_blank"><?php _e("Download Spreadsheet Template", 'wp-oer'); ?></a>
</div>
</div>
<div class="oer-import-row">
Expand All @@ -23,7 +23,7 @@
<div class="fields alignRight">
<input type="hidden" name="action" value="import_subjects">
<?php wp_nonce_field( 'oer_subject_area_nonce_field' ); ?>
<input type="submit" id="subject_submit" name="" value="<?php _e("Import", OER_SLUG); ?>" class="button button-primary"/>
<input type="submit" id="subject_submit" name="" value="<?php _e("Import", 'wp-oer'); ?>" class="button button-primary"/>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions includes/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="oer-import-body">
<div class="oer-import-row">
<div class="row-left">
<?php _e("Use the options below to import data sets to the OER tool. Additional information can be found on the support forums or wp-oer.com.", OER_SLUG); ?>
<?php _e("Use the options below to import data sets to the OER tool. Additional information can be found on the support forums or wp-oer.com.", 'wp-oer'); ?>
<div class="oer-import-row">
<h2 class="hidden"></h2>
<?php if ($message) { ?>
Expand Down Expand Up @@ -62,17 +62,17 @@
</div>
</div>
<div class="row-right">
<strong><?php _e("Support Options", OER_SLUG); ?></strong>
<strong><?php _e("Support Options", 'wp-oer'); ?></strong>
<ul>
<li><a href="https://www.wp-oer.com/get-help/" target="_blank"><?php _e("WP OER Plugin Support", OER_SLUG); ?></a></li>
<li><a href="https://www.wp-oer.com/get-help/" target="_blank"><?php _e("WP OER Plugin Support", 'wp-oer'); ?></a></li>
</ul>
</div>
</div>
</div>
</div><!-- /.wrap -->
<div class="plugin-footer">
<div class="plugin-info"><?php echo OER_ADMIN_PLUGIN_NAME . " " . OER_VERSION .""; ?></div>
<div class="plugin-link"><a href='https://www.wp-oer.com/' target='_blank'><?php _e("More Information", OER_SLUG); ?></a></div>
<div class="plugin-link"><a href='https://www.wp-oer.com/' target='_blank'><?php _e("More Information", 'wp-oer'); ?></a></div>
<div class="clear"></div>
</div>
<?php oer_display_loader(); ?>
Loading