Changeset 1271940
- Timestamp:
- 10/23/2015 05:29:19 PM (10 years ago)
- Location:
- motaword/trunk
- Files:
-
- 3 edited
-
admin/class-motaword-admin.php (modified) (1 diff)
-
languages/motaword.pot (modified) (12 diffs)
-
motaword.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
motaword/trunk/admin/class-motaword-admin.php
r1271923 r1271940 1183 1183 1184 1184 <?php if ( isset( $_GET['activated'] ) ): ?> 1185 <div class="updated"><p>Let's make sure you put your API client ID and secret here. If you have any 1186 questions, just head to <a href="https://www.motaword.com/developer" target="_blank">documentation</a>. 1185 <div class="updated"><p> 1186 <?php _e('Let\'s make sure you put your API client ID and secret here. If you have any 1187 questions, just head to <a href="https://www.motaword.com/developer" target="_blank">documentation</a>.', 'motaword'); ?> 1188 1189 <?php if($network): ?> 1190 <?php _e('Remember, you can also specify different API clients for your sites by visiting MotaWord settings page in each site\'s admin section.', 'motaword'); ?> 1191 <?php endif; ?> 1187 1192 </p></div> 1188 1193 <?php endif; ?> -
motaword/trunk/languages/motaword.pot
r1265182 r1271940 1 1 # Copyright (C) 2015 MotaWord 2 2 # This file is distributed under the same license as the MotaWord package. 3 # Use this command to generate this POT file automatically: 4 # php trunk/trunk/tools/i18n/makepot.php wp-plugin wp-content/plugins/motaword wp-content/plugins/motaword/languages/motaword.pot 3 5 msgid "" 4 6 msgstr "" 5 7 "Project-Id-Version: MotaWord 1.0.0\n" 6 8 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/motaword\n" 7 "POT-Creation-Date: 2015-10- 13 16:54:32+00:00\n"9 "POT-Creation-Date: 2015-10-23 17:27:02+00:00\n" 8 10 "MIME-Version: 1.0\n" 9 11 "Content-Type: text/plain; charset=UTF-8\n" 10 12 "Content-Transfer-Encoding: 8bit\n" 11 "PO-Revision-Date: 2015- 10-13 16:54:32+00:00\n"12 "Last-Translator: Oytun Tez <[email protected]>\n"13 "Language-Team: MotaWord <[email protected]>\n"13 "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n" 14 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 15 "Language-Team: LANGUAGE <[email protected]>\n" 14 16 15 17 #. #-#-#-#-# motaword.pot (MotaWord 1.0.0) #-#-#-#-# 16 18 #. Plugin Name of the plugin/theme 17 #: admin/class-motaword-admin.php:1 51 admin/class-motaword-admin.php:114319 #: admin/class-motaword-admin.php:141 admin/class-motaword-admin.php:1147 18 20 msgid "MotaWord" 19 21 msgstr "" 20 22 21 #: admin/class-motaword-admin.php:2 63 admin/class-motaword-admin.php:36122 #: admin/class-motaword-admin.php:3 6423 #: admin/class-motaword-admin.php:254 admin/class-motaword-admin.php:352 24 #: admin/class-motaword-admin.php:355 23 25 msgid "Save this post in order to send to MotaWord for translation." 24 26 msgstr "" 25 27 26 #: admin/class-motaword-admin.php:3 25 admin/class-motaword-admin.php:98628 #: admin/class-motaword-admin.php:316 admin/class-motaword-admin.php:990 27 29 msgid "%1$s to %2$s" 28 30 msgstr "" 29 31 30 #: admin/class-motaword-admin.php:3 3032 #: admin/class-motaword-admin.php:321 31 33 msgid "Send to MotaWord" 32 34 msgstr "" 33 35 34 #: admin/class-motaword-admin.php:3 5336 #: admin/class-motaword-admin.php:344 35 37 msgid "[Translating...]" 36 38 msgstr "" 37 39 38 #: admin/class-motaword-admin.php:3 5640 #: admin/class-motaword-admin.php:347 39 41 msgid "%s [translating]" 40 42 msgstr "" 41 43 42 #: admin/class-motaword-admin.php:3 7744 #: admin/class-motaword-admin.php:368 43 45 msgid "" 44 46 "MotaWord API credentials that you provided are wrong. Please check them on " … … 46 48 msgstr "" 47 49 48 #: admin/class-motaword-admin.php:3 8450 #: admin/class-motaword-admin.php:375 49 51 msgid "" 50 52 "We encountered an error while processing your request. Please try again or " … … 52 54 msgstr "" 53 55 54 #: admin/class-motaword-admin.php: 50856 #: admin/class-motaword-admin.php:499 55 57 msgid "From %1$s to %2$s" 56 58 msgstr "" 57 59 58 #: admin/class-motaword-admin.php:5 1560 #: admin/class-motaword-admin.php:506 59 61 msgid "Completed." 60 62 msgstr "" 61 63 62 #: admin/class-motaword-admin.php:51 964 #: admin/class-motaword-admin.php:510 63 65 msgid "Translation progress: <strong>%d</strong>%%" 64 66 msgstr "" 65 67 66 #: admin/class-motaword-admin.php:5 2568 #: admin/class-motaword-admin.php:516 67 69 msgid "" 68 70 "Translated and currently being proofread: <strong>%d</strong>%% completed." 69 71 msgstr "" 70 72 71 #: admin/class-motaword-admin.php:52 973 #: admin/class-motaword-admin.php:520 72 74 msgid "Completed. Waiting to be finalized." 73 75 msgstr "" 74 76 75 #: admin/class-motaword-admin.php:5 3677 #: admin/class-motaword-admin.php:527 76 78 msgid "Translation by <a href=\"%s\" target=\"_blank\">MotaWord</a>" 77 79 msgstr "" 78 80 79 #: admin/class-motaword-admin.php:778 81 #: admin/class-motaword-admin.php:664 82 msgid "MotaWord Settings" 83 msgstr "" 84 85 #: admin/class-motaword-admin.php:781 80 86 msgid "" 81 87 "An error occurred while submitting your posts to MotaWord for a quote: %s" 82 88 msgstr "" 83 89 84 #: admin/class-motaword-admin.php: 79790 #: admin/class-motaword-admin.php:800 85 91 msgid "" 86 92 "We can translate this WordPress post for just <strong>%1$s%2$s</strong>." … … 90 96 msgstr[1] "" 91 97 92 #: admin/class-motaword-admin.php:8 0898 #: admin/class-motaword-admin.php:811 93 99 msgid "OUR QUOTE IS BASED ON <strong>%1$d</strong> WORDS." 94 100 msgid_plural "" … … 97 103 msgstr[1] "" 98 104 99 #: admin/class-motaword-admin.php:8 28105 #: admin/class-motaword-admin.php:831 100 106 msgid "Start Project" 101 107 msgstr "" 102 108 103 #: admin/class-motaword-admin.php:83 1 admin/class-motaword-admin.php:994104 #: admin/class-motaword-admin.php:11 26109 #: admin/class-motaword-admin.php:834 admin/class-motaword-admin.php:998 110 #: admin/class-motaword-admin.php:1130 105 111 msgid "" 106 112 "Have questions? <a href=\"https://www.motaword.com/contact\" target=\"_blank" … … 108 114 msgstr "" 109 115 110 #: admin/class-motaword-admin.php: 899116 #: admin/class-motaword-admin.php:902 111 117 msgid "" 112 118 "Source languages of the posts you selected don't match. Please select the " … … 114 120 msgstr "" 115 121 116 #: admin/class-motaword-admin.php:93 0122 #: admin/class-motaword-admin.php:934 117 123 msgid "You have selected %d post." 118 124 msgid_plural "You have selected %d posts." … … 120 126 msgstr[1] "" 121 127 122 #: admin/class-motaword-admin.php:9 39128 #: admin/class-motaword-admin.php:943 123 129 msgid "" 124 130 "To get your quote, please select your translation languages and continue." 125 131 msgstr "" 126 132 127 #: admin/class-motaword-admin.php:99 1133 #: admin/class-motaword-admin.php:995 128 134 msgid "Continue to get a quote" 129 135 msgstr "" 130 136 131 #: admin/class-motaword-admin.php:110 3137 #: admin/class-motaword-admin.php:1107 132 138 msgid "Your post has been submitted for translation!" 133 139 msgid_plural "Your posts have been submitted for translation!" … … 135 141 msgstr[1] "" 136 142 137 #: admin/class-motaword-admin.php:111 0143 #: admin/class-motaword-admin.php:1114 138 144 msgid "" 139 145 "You can track its progress on post editing screen or <a href=\"https://www." … … 145 151 msgstr[1] "" 146 152 147 #: admin/class-motaword-admin.php:1180 153 #: admin/class-motaword-admin.php:1186 154 msgid "" 155 "Let's make sure you put your API client ID and secret here. If you have any" 156 "\r\n" 157 "\t\t\t\t\t\tquestions, just head to <a href=\"https://www.motaword.com/" 158 "developer\" target=\"_blank\">documentation</a>." 159 msgstr "" 160 161 #: admin/class-motaword-admin.php:1190 162 msgid "" 163 "Remember, you can also specify different API clients for your sites by " 164 "visiting MotaWord settings page in each site's admin section." 165 msgstr "" 166 167 #: admin/class-motaword-admin.php:1200 148 168 msgid "API Client ID:" 149 169 msgstr "" 150 170 151 #: admin/class-motaword-admin.php:1 185171 #: admin/class-motaword-admin.php:1205 152 172 msgid "API Client Secret:" 153 173 msgstr "" 154 174 155 #: admin/class-motaword-admin.php:1 190175 #: admin/class-motaword-admin.php:1210 156 176 msgid "Sandbox mode:" 157 177 msgstr "" 158 178 159 #: admin/class-motaword-admin.php:1 197179 #: admin/class-motaword-admin.php:1217 160 180 msgid "Save Changes" 161 181 msgstr "" 162 182 163 #: admin/class-motaword-admin.php:13 22183 #: admin/class-motaword-admin.php:1346 164 184 msgid "Translation of this post was completed." 165 185 msgstr "" 166 186 167 #: admin/class-motaword-admin.php:13 30187 #: admin/class-motaword-admin.php:1354 168 188 msgid "" 169 189 "We are still working on the translation of this post.\n" … … 173 193 msgstr "" 174 194 175 #: admin/class-motaword-admin.php:13 59195 #: admin/class-motaword-admin.php:1385 176 196 msgid "MotaWord Summary" 177 197 msgstr "" … … 185 205 186 206 #. Description of the plugin/theme 187 msgid "This plugin is for MotaWord.com registered users." 207 msgid "" 208 "MotaWord plugin allows you to seamlessly submit your posts for translation " 209 "to MotaWord." 188 210 msgstr "" 189 211 -
motaword/trunk/motaword.php
r1265236 r1271940 43 43 function activated_motaword( $plugin ) { 44 44 if ( strpos($plugin, '/motaword.php') > -1 && ! isset( $_GET['activate-multi'] ) ) { 45 wp_redirect( admin_url( 'options-general.php?page=motaword&activated=1' ) ); 45 if(is_multisite() && function_exists('network_admin_url')) { 46 wp_redirect( network_admin_url( 'settings.php?page=motaword&activated=1' ) ); 47 } else { 48 wp_redirect( admin_url( 'options-general.php?page=motaword&activated=1' ) ); 49 } 50 46 51 exit(); 47 52 }
Note: See TracChangeset
for help on using the changeset viewer.