Changeset 723
- Timestamp:
- Apr 29, 2011, 2:20:54 PM (14 years ago)
- Location:
- trunk/xpressme_integration_kit/wp-content/plugins/xpressme
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/class-xpress-upgrader.php
r704 r723 12 12 $this->strings['make_config'] = __('Delete source wp-config.php.', 'xpressme'); 13 13 $this->strings['delete_failed'] = __('Could not delete files.', 'xpressme'); 14 $this->strings['package_wrong'] = __('The structure of the package is wrong. ', 'xpressme'); 14 15 } 15 16 … … 40 41 if ( is_wp_error($working_dir) ) 41 42 return $working_dir; 42 $subdirs = $wp_filesystem->dirlist($working_dir,false); 43 foreach($subdirs as $subdir){ 44 $subdir_name = $subdir['name']; 43 $kit_dir = $working_dir .'/xpressme_integration_kit/'; 44 if (!file_exists($kit_dir)){ // search sub dir. 45 $kit_dir = ''; 46 $subdirs = $wp_filesystem->dirlist($working_dir,false); 47 foreach($subdirs as $subdir){ 48 if (file_exists($working_dir .'/' .$subdir['name'] .'/xpressme_integration_kit/')){ 49 $kit_dir = $working_dir .'/' .$subdir['name'] .'/xpressme_integration_kit/'; 50 continue; 51 } 52 } 53 if (empty($kit_dir)){ 54 $wp_filesystem->delete($working_dir, true); 55 return new WP_Error('package_wrong', $this->strings['package_wrong']); 56 } 45 57 } 46 47 $kit_dir = $working_dir .'/' .$subdir_name .'/xpressme_integration_kit/';48 49 58 // Copy update-core.php from the new version into place. 50 59 $update_xpress_file = 'wp-content/plugins/xpressme/include/update_xpress.php'; … … 59 68 } 60 69 } 61 70 ?> -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja.po
r713 r723 8 8 "Project-Id-Version: XPressME Plugin\n" 9 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2011-04-2 3 10:02+0900\n"11 "PO-Revision-Date: 2011-04-2 3 10:06+0900\n"10 "POT-Creation-Date: 2011-04-29 14:11+0900\n" 11 "PO-Revision-Date: 2011-04-29 14:12+0900\n" 12 12 "Last-Translator: toemon <info@toemon.com>\n" 13 13 "Language-Team: toemon <info@toemon.com>\n" … … 553 553 msgstr "ファイルが消去できませんでした。" 554 554 555 #: include/class-xpress-upgrader.php:14 556 msgid "The structure of the package is wrong. " 557 msgstr "パッケージの構成が異なっています。" 558 555 559 #: include/custom_functions.php:113 556 560 #, php-format … … 839 843 msgstr "モジュールの更新へ" 840 844 841 #: include/xpress_upgrade.php:205 842 msgid "You do not have sufficient permissions to update XPressME Integration Kit for this site." 843 msgstr "あなたには、 XPressME Integration Kit の更新権限がありません。" 844 845 #: include/xpress_upgrade.php:371 845 #: include/xpress_upgrade.php:369 846 846 #, php-format 847 847 msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 848 848 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。" 849 849 850 #: include/xpress_upgrade.php:37 3850 #: include/xpress_upgrade.php:371 851 851 #, php-format 852 852 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 853 853 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。" 854 855 #~ msgid "" 856 #~ "You do not have sufficient permissions to update XPressME Integration Kit " 857 #~ "for this site." 858 #~ msgstr "あなたには、 XPressME Integration Kit の更新権限がありません。" 854 859 855 860 #~ msgid "" -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja_EUC.po
r713 r723 9 9 "Report-Msgid-Bugs-To: \n" 10 10 "POT-Creation-Date: 2011-04-22 23:10+0900\n" 11 "PO-Revision-Date: 2011-04-2 3 10:09+0900\n"11 "PO-Revision-Date: 2011-04-29 14:15+0900\n" 12 12 "Last-Translator: toemon <info@toemon.com>\n" 13 13 "Language-Team: toemon <info@toemon.com>\n" … … 553 553 msgstr "¥Õ¥¡¥¤¥ë¤¬¾Ãµî¤Ç¤¤Þ¤»¤ó¤Ç¤·¤¿¡£" 554 554 555 #: include/class-xpress-upgrader.php:14 556 msgid "The structure of the package is wrong. " 557 msgstr "¥Ñ¥Ã¥±¡¼¥¸¤Î¹½À®¤¬°Û¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£" 558 555 559 #: include/custom_functions.php:113 556 560 #, php-format … … 839 843 msgstr "¥â¥¸¥å¡¼¥ë¤Î¹¹¿·¤Ø" 840 844 841 #: include/xpress_upgrade.php:205 842 msgid "You do not have sufficient permissions to update XPressME Integration Kit for this site." 843 msgstr "¤¢¤Ê¤¿¤Ë¤Ï¡¢ XPressME Integration Kit ¤Î¹¹¿·¸¢¸Â¤¬¤¢¤ê¤Þ¤»¤ó¡£" 844 845 #: include/xpress_upgrade.php:371 845 #: include/xpress_upgrade.php:369 846 846 #, php-format 847 847 msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 848 848 msgstr "XPressME Integration Kit Version %1$s ¤¬ÍøÍѲÄǽ¤Ç¤¹ ! <a href=\"%2$s\">¥¢¥Ã¥×¥Ç¡¼¥È¤·¤Æ¤¯¤À¤µ¤¤</a>¡£" 849 849 850 #: include/xpress_upgrade.php:37 3850 #: include/xpress_upgrade.php:371 851 851 #, php-format 852 852 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 853 853 msgstr "XPressME Integration Kit Version %1$s ¤¬ÍøÍѲÄǽ¤Ç¤¹ ! ¥µ¥¤¥È´ÉÍý¼Ô¤ËÏ¢Íí¤·¤Æ¤¯¤À¤µ¤¤¡£" 854 855 #~ msgid "" 856 #~ "You do not have sufficient permissions to update XPressME Integration Kit " 857 #~ "for this site." 858 #~ msgstr "¤¢¤Ê¤¿¤Ë¤Ï¡¢ XPressME Integration Kit ¤Î¹¹¿·¸¢¸Â¤¬¤¢¤ê¤Þ¤»¤ó¡£" 854 859 855 860 #~ msgid "" -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-ja_UTF.po
r713 r723 9 9 "Report-Msgid-Bugs-To: \n" 10 10 "POT-Creation-Date: 2010-08-23 09:55+0900\n" 11 "PO-Revision-Date: 2011-04-2 3 10:09+0900\n"11 "PO-Revision-Date: 2011-04-29 14:15+0900\n" 12 12 "Last-Translator: toemon <info@toemon.com>\n" 13 13 "Language-Team: toemon <info@toemon.com>\n" … … 553 553 msgstr "ファイルが消去できませんでした。" 554 554 555 #: include/class-xpress-upgrader.php:14 556 msgid "The structure of the package is wrong. " 557 msgstr "パッケージの構成が異なっています。" 558 555 559 #: include/custom_functions.php:113 556 560 #, php-format … … 839 843 msgstr "モジュールの更新へ" 840 844 841 #: include/xpress_upgrade.php:205 842 msgid "You do not have sufficient permissions to update XPressME Integration Kit for this site." 843 msgstr "あなたには、 XPressME Integration Kit の更新権限がありません。" 844 845 #: include/xpress_upgrade.php:371 845 #: include/xpress_upgrade.php:369 846 846 #, php-format 847 847 msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 848 848 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! <a href=\"%2$s\">アップデートしてください</a>。" 849 849 850 #: include/xpress_upgrade.php:37 3850 #: include/xpress_upgrade.php:371 851 851 #, php-format 852 852 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 853 853 msgstr "XPressME Integration Kit Version %1$s が利用可能です ! サイト管理者に連絡してください。" 854 855 #~ msgid "" 856 #~ "You do not have sufficient permissions to update XPressME Integration Kit " 857 #~ "for this site." 858 #~ msgstr "あなたには、 XPressME Integration Kit の更新権限がありません。" 854 859 855 860 #~ msgid "" -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-lang.pot
r713 r723 8 8 "Project-Id-Version: XPressME Plugin\n" 9 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2011-04-2 3 10:02+0900\n"10 "POT-Creation-Date: 2011-04-29 14:11+0900\n" 11 11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 547 547 msgstr "" 548 548 549 #: include/class-xpress-upgrader.php:14 550 msgid "The structure of the package is wrong. " 551 msgstr "" 552 549 553 #: include/custom_functions.php:113 550 554 #, php-format … … 833 837 msgstr "" 834 838 835 #: include/xpress_upgrade.php:205 836 msgid "You do not have sufficient permissions to update XPressME Integration Kit for this site." 839 #: include/xpress_upgrade.php:369 840 #, php-format 841 msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 837 842 msgstr "" 838 843 839 844 #: include/xpress_upgrade.php:371 840 845 #, php-format 841 msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>."842 msgstr ""843 844 #: include/xpress_upgrade.php:373845 #, php-format846 846 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 847 847 msgstr "" 848 849 #~ msgid "" 850 #~ "You do not have sufficient permissions to update XPressME Integration Kit " 851 #~ "for this site." 852 #~ msgstr "" 848 853 849 854 #~ msgid "" -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/language/xpressme-pt_BR.po
r713 r723 7 7 "Project-Id-Version: XPressME Plugin\n" 8 8 "Report-Msgid-Bugs-To: \n" 9 "POT-Creation-Date: 2011-04-2 3 10:02+0900\n"10 "PO-Revision-Date: 2011-04-2 3 10:14+0900\n"9 "POT-Creation-Date: 2011-04-29 14:11+0900\n" 10 "PO-Revision-Date: 2011-04-29 14:15+0900\n" 11 11 "Last-Translator: toemon <info@toemon.com>\n" 12 12 "Language-Team: Marcelo Yuji Himoro <yuji@yuji.ws>\n" … … 552 552 msgstr "Não pôde apagar arquivos." 553 553 554 #: include/class-xpress-upgrader.php:14 555 msgid "The structure of the package is wrong. " 556 msgstr "A estrutura do pacote está errada. " 557 554 558 #: include/custom_functions.php:113 555 559 #, php-format … … 838 842 msgstr "Vá para Atualização de Módulo" 839 843 840 #: include/xpress_upgrade.php:205 841 msgid "You do not have sufficient permissions to update XPressME Integration Kit for this site." 842 msgstr "O senhor não tem permissões suficientes para atualizar XPressME Integration Kit ara este local." 843 844 #: include/xpress_upgrade.php:371 844 #: include/xpress_upgrade.php:369 845 845 #, php-format 846 846 msgid "XPressME Integration Kit Version %1$s is available! <a href=\"%2$s\">Please update now</a>." 847 847 msgstr "O XPressME Integration Kit %1$s está disponível! <a href=\"%2$s\">Por favor, atualize agora</a>." 848 848 849 #: include/xpress_upgrade.php:37 3849 #: include/xpress_upgrade.php:371 850 850 #, php-format 851 851 msgid "XPressME Integration Kit Version %1$s is available! Please notify the site administrator." 852 852 msgstr "O XPressME Integration Kit Versão %1$s está disponível! Por favor, avise o administrador do site." 853 854 #~ msgid "" 855 #~ "You do not have sufficient permissions to update XPressME Integration Kit " 856 #~ "for this site." 857 #~ msgstr "" 858 #~ "O senhor não tem permissões suficientes para atualizar XPressME " 859 #~ "Integration Kit ara este local." 853 860 854 861 #~ msgid ""
Note: See TracChangeset
for help on using the changeset viewer.