Browse code

modified readme.txt, version, lang

nita authored on 2014/05/04 02:57:33
Showing 4 changed files
1 1
Binary files a/lang/rucy-ja.mo and b/lang/rucy-ja.mo differ
... ...
@@ -1,8 +1,8 @@
1 1
 msgid ""
2 2
 msgstr ""
3 3
 "Project-Id-Version: rucy\n"
4
-"POT-Creation-Date: 2014-04-18 03:32+0900\n"
5
-"PO-Revision-Date: 2014-04-18 03:33+0900\n"
4
+"POT-Creation-Date: 2014-05-04 02:48+0900\n"
5
+"PO-Revision-Date: 2014-05-04 02:48+0900\n"
6 6
 "Last-Translator: nita <nita@gips.jp>\n"
7 7
 "Language-Team: \n"
8 8
 "Language: ja\n"
... ...
@@ -35,54 +35,90 @@ msgstr "OK"
35 35
 msgid "Cancel"
36 36
 msgstr "キャンセル"
37 37
 
38
-#: ../rucy.php:226
38
+#: ../rucy.php:235
39
+msgid "registered reservation update content _RC_DATETIME_"
40
+msgstr "_RC_DATETIME_ に更新するよう予約しました。"
41
+
42
+#: ../rucy.php:255
39 43
 msgid "Reservation Update DateTime"
40 44
 msgstr "予約更新日時"
41 45
 
42
-#: ../rucy.php:240
46
+#: ../rucy.php:269
43 47
 msgid "None"
44 48
 msgstr "なし"
45 49
 
46
-#: ../rucy.php:282
50
+#: ../rucy.php:312
47 51
 msgid "post or page is not allow."
48 52
 msgstr "カスタム投稿タイプにpostもしくはpageは入力できません。"
49 53
 
50
-#: ../rucy.php:289
54
+#: ../rucy.php:320
51 55
 msgid "Do not input \"post\" or \"page\". "
52 56
 msgstr "postもしくはpageは入力できません。"
53 57
 
54
-#: ../rucy.php:291
58
+#: ../rucy.php:322
55 59
 msgid "Please input alphabet or numeric. And do not input sequencial commas."
56 60
 msgstr "英数のみ入力してください。また、連続でカンマの入力はできません。"
57 61
 
58
-#: ../rucy.php:319
62
+#: ../rucy.php:324
63
+#, fuzzy
64
+msgid "Do not input \"attachment\" or \"revision\". "
65
+msgstr "postもしくはpageは入力できません。"
66
+
67
+#: ../rucy.php:352
59 68
 msgid "Configure content types reservation update."
60 69
 msgstr "予約更新する投稿タイプを設定してください。"
61 70
 
62
-#: ../rucy.php:324
71
+#: ../rucy.php:357
63 72
 msgid "post type"
64 73
 msgstr "投稿タイプ"
65 74
 
66
-#: ../rucy.php:324
75
+#: ../rucy.php:357
67 76
 msgid "Require"
68 77
 msgstr "必須"
69 78
 
70
-#: ../rucy.php:327
79
+#: ../rucy.php:360
71 80
 msgid "post"
72 81
 msgstr "投稿"
73 82
 
74
-#: ../rucy.php:328
83
+#: ../rucy.php:361
75 84
 msgid "page"
76 85
 msgstr "固定ページ"
77 86
 
78
-#: ../rucy.php:339
87
+#: ../rucy.php:372
79 88
 msgid "custom post type"
80 89
 msgstr "カスタム投稿タイプ"
81 90
 
82
-#: ../rucy.php:341
91
+#: ../rucy.php:374
83 92
 msgid "Separated by commas"
84 93
 msgstr "カンマ区切りで入力"
85 94
 
86
-#: ../rucy.php:354
95
+#: ../rucy.php:387
87 96
 msgid "Save Changes"
88 97
 msgstr "変更を保存"
98
+
99
+#: ../rucy.php:390
100
+msgid "Contact"
101
+msgstr ""
102
+
103
+#: ../rucy.php:392
104
+msgid ""
105
+"Rucy is maintained by <a href=\"http://profiles.wordpress.org/gips-nita/"
106
+"\">nita</a>.<br>"
107
+msgstr ""
108
+
109
+#: ../rucy.php:393
110
+msgid ""
111
+"If you have found a bug or would like to make a suggestion or contribution "
112
+"why not join the <a href=\"https://wordpress.org/support/plugin/rucy"
113
+"\">Support Form @ wordpress.org</a><br />"
114
+msgstr ""
115
+
116
+#: ../rucy.php:394
117
+msgid ""
118
+"Please consider donating if you like this plugin. I've put a lot of my free "
119
+"time into this plugin and donations help to justify it.<br />"
120
+msgstr ""
121
+
122
+#: ../rucy.php:451
123
+msgid "Settings"
124
+msgstr ""
... ...
@@ -3,7 +3,7 @@ Contributors: gips-nita
3 3
 Tags: post, update content, update post, update page, schedule update, reserve update, reservation update, rucy, Rucy
4 4
 Requires at least: 3.5+
5 5
 Tested up to: 3.9
6
-Stable tag: 0.1.1
6
+Stable tag: 0.1.2
7 7
 License: GPLv2 or later
8 8
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
9 9
 
... ...
@@ -37,6 +37,12 @@ You can install this plugin directly from your WordPress dashboard:
37 37
 
38 38
 == Changelog ==
39 39
 
40
+= 0.1.2 =
41
+* 2014-05-04
42
+* add reservation datetime post updated messages.
43
+* add "revision" and "attachment" in invalid custom post type Setting
44
+* little refactoring
45
+
40 46
 = 0.1.1 =
41 47
 * 2014-04-25 
42 48
 * if accept checkbox unchecked , clean schedule update content. 
... ...
@@ -3,7 +3,7 @@
3 3
  * Plugin Name: Rucy
4 4
  * Plugin URI: https://github.com/gips/rucy
5 5
  * Description: Reservation Update (Published) Content.
6
- * Version: 0.1.1
6
+ * Version: 0.1.2
7 7
  * Author: Nita
8 8
  * License: GPLv2 or later
9 9
  * Text Domain: rucy
... ...
@@ -231,8 +231,9 @@ function addRcMessage($messages)
231 231
         $rcMetas = getRcMetas($post_ID);
232 232
         if("1" == $rcMetas['accept'])
233 233
         {
234
-            $addMessageDate = repleceRcUpdateMsg(date('Y/m/d H:i',  strtotime($rcMetas['date'])));
235
-            $addMessage = '<br>' . __($addMessageDate, RC_TXT_DOMAIN);
234
+            $addMessageDate = date('Y/m/d @ H:i',  strtotime($rcMetas['date']));
235
+            $str = __('registered reservation update content _RC_DATETIME_',RC_TXT_DOMAIN);
236
+            $addMessage = '<br>' . strtr($str, array('_RC_DATETIME_' => $addMessageDate));
236 237
             // published
237 238
             $messages[$postType][1] .= $addMessage;
238 239
             $messages[$postType][4] .= $addMessage;
... ...
@@ -248,17 +249,6 @@ function addRcMessage($messages)
248 248
     return $messages;
249 249
 }
250 250
 
251
-/**
252
- * replace add messages in reservation date
253
- * @param string $s
254
- * @return string replaced string
255
- */
256
-function repleceRcUpdateMsg($s) {
257
-    $str = 'registered reservation update content _RC_DATETIME_';
258
-    $res = strtr($str, array('_RC_DATETIME_' => $s));
259
-    return $res;
260
-}
261
-
262 251
 // add reservation info at postlist
263 252
 function manageRucyCols($columns) {
264 253
     $columns['subtitle'] = __("Reservation Update DateTime", RC_TXT_DOMAIN);