Browse code

多言語対応(日英)

nita authored on 2015/10/19 03:42:03
Showing 3 changed files
... ...
@@ -28,10 +28,8 @@ class Class_Rucy_Setting {
28 28
             }
29 29
             $is_update = $component->update_support_post_type( $post_support_posts );
30 30
             if ( $is_different && $is_update ) {
31
-                // 更新完了
32 31
                 set_transient( RC_SETTING_UPDATE, array( __( 'Success to setting update.', RC_TXT_DOMAIN ) ), 10 );
33 32
             } else if ( $is_different === false && $is_update === false ) {
34
-                // 同じ値で更新した
35 33
                 set_transient( RC_SETTING_UPDATE, array( __( 'Success to setting update.', RC_TXT_DOMAIN ) ), 10 );
36 34
             } else if ( $is_different && $is_update === false ) {
37 35
                 // 更新失敗
38 36
Binary files a/lang/rucy-ja.mo and b/lang/rucy-ja.mo differ
... ...
@@ -1,11 +1,11 @@
1 1
 msgid ""
2 2
 msgstr ""
3 3
 "Project-Id-Version: rucy\n"
4
-"POT-Creation-Date: 2015-04-08 06:31+0900\n"
5
-"PO-Revision-Date: 2015-04-08 06:31+0900\n"
4
+"POT-Creation-Date: 2015-10-19 03:33+0900\n"
5
+"PO-Revision-Date: 2015-10-19 03:37+0900\n"
6 6
 "Last-Translator: nita <nita@gips.jp>\n"
7 7
 "Language-Team: \n"
8
-"Language: ja\n"
8
+"Language: ja_JP\n"
9 9
 "MIME-Version: 1.0\n"
10 10
 "Content-Type: text/plain; charset=UTF-8\n"
11 11
 "Content-Transfer-Encoding: 8bit\n"
... ...
@@ -13,37 +13,37 @@ msgstr ""
13 13
 "X-Poedit-Basepath: .\n"
14 14
 "Plural-Forms: nplurals=1; plural=0;\n"
15 15
 "X-Poedit-KeywordsList: __;_e\n"
16
-"X-Poedit-SearchPath-0: ..\n"
16
+"X-Poedit-SearchPath-0: ../inc\n"
17 17
 
18
-#: ../rucy.php:112
18
+#: ../inc/class-rucy-editor.php:56
19 19
 msgid "Accept reserve update content."
20 20
 msgstr "予約更新を行う"
21 21
 
22
-#: ../rucy.php:115
22
+#: ../inc/class-rucy-editor.php:58
23 23
 msgid "UpdateTime"
24 24
 msgstr "更新日時"
25 25
 
26
-#: ../rucy.php:117
26
+#: ../inc/class-rucy-editor.php:60 ../inc/class-rucy-editor.php:173
27 27
 msgid "Edit"
28 28
 msgstr "編集"
29 29
 
30
-#: ../rucy.php:167
30
+#: ../inc/class-rucy-editor.php:100 ../inc/class-rucy-editor.php:213
31 31
 msgid "OK"
32 32
 msgstr "OK"
33 33
 
34
-#: ../rucy.php:168
34
+#: ../inc/class-rucy-editor.php:101 ../inc/class-rucy-editor.php:214
35 35
 msgid "Cancel"
36 36
 msgstr "キャンセル"
37 37
 
38
-#: ../rucy.php:185
38
+#: ../inc/class-rucy-editor.php:108
39 39
 msgid "Accept reserve update post date."
40 40
 msgstr "更新日時を更新する"
41 41
 
42
-#: ../rucy.php:191
42
+#: ../inc/class-rucy-editor.php:112
43 43
 msgid "Attention - reservation update UpdateTime"
44 44
 msgstr "注意 - 更新日時の更新について"
45 45
 
46
-#: ../rucy.php:192
46
+#: ../inc/class-rucy-editor.php:113
47 47
 msgid ""
48 48
 "If update UpdateTime, this post\\'s permalink is changed by permalink "
49 49
 "settings."
... ...
@@ -51,95 +51,123 @@ msgstr ""
51 51
 "更新日時を更新すると、パーマリンク設定内容によってはパーマリンクが変更される"
52 52
 "場合があります。"
53 53
 
54
-#: ../rucy.php:200
54
+#: ../inc/class-rucy-editor.php:121
55 55
 msgid "Do not show future"
56 56
 msgstr "今後表示しない"
57 57
 
58
-#: ../rucy.php:227
58
+#: ../inc/class-rucy-editor.php:146
59 59
 msgid "Featured Image for Reservation Update"
60 60
 msgstr "予約更新用アイキャッチ画像"
61 61
 
62
-#: ../rucy.php:229
62
+#: ../inc/class-rucy-editor.php:148
63 63
 msgid "Accept reserve update feature image."
64 64
 msgstr "アイキャッチ画像の予約更新を行う"
65 65
 
66
-#: ../rucy.php:231
67
-msgid "Set featured image Reservation"
68
-msgstr "予約更新用アイキャッチ画像を設定"
69
-
70
-#: ../rucy.php:231
66
+#: ../inc/class-rucy-editor.php:151
71 67
 msgid "Set featured image for Reservation"
72 68
 msgstr "予約更新用アイキャッチ画像を登録する"
73 69
 
74
-#: ../rucy.php:232
70
+#: ../inc/class-rucy-editor.php:161
75 71
 msgid "Remove Featured image for Reservation"
76 72
 msgstr "予約更新用アイキャッチ画像を削除する"
77 73
 
78
-#: ../rucy.php:401
79
-msgid "registered reservation update content _RC_DATETIME_"
80
-msgstr "_RC_DATETIME_ に更新するよう予約しました。"
74
+#: ../inc/class-rucy-editor.php:166
75
+msgid "Setting Rollback post content."
76
+msgstr "ロールバック設定"
81 77
 
82
-#: ../rucy.php:421
83
-msgid "Reservation Update DateTime"
84
-msgstr "予約更新日時"
78
+#: ../inc/class-rucy-editor.php:168
79
+msgid "Accept rollback content."
80
+msgstr "記事のロールバックを行う"
85 81
 
86
-#: ../rucy.php:436
87
-msgid "None"
88
-msgstr "なし"
82
+#: ../inc/class-rucy-editor.php:171
83
+msgid "Rollback DateTime"
84
+msgstr "ロールバック日時"
89 85
 
90
-#: ../rucy.php:484
91
-msgid "post or page is not allow."
92
-msgstr "カスタム投稿タイプにpostもしくはpageは入力できません。"
86
+#: ../inc/class-rucy-editor.php:221
87
+msgid "Accept Rollback post date."
88
+msgstr "更新日時のロールバックを行う"
93 89
 
94
-#: ../rucy.php:492
95
-msgid "Do not input \"post\" or \"page\". "
96
-msgstr "postもしくはpageは入力できません。"
90
+#: ../inc/class-rucy-editor.php:227
91
+msgid "Accept Rollback feature image."
92
+msgstr "アイキャッチ画像のロールバックを行う"
97 93
 
98
-#: ../rucy.php:494
99
-msgid "Please input alphabet or numeric. And do not input sequencial commas."
100
-msgstr "英数のみ入力してください。また、連続でカンマの入力はできません。"
94
+#: ../inc/class-rucy-editor.php:311
95
+msgid "registered reservation update content _RC_DATETIME_"
96
+msgstr "_RC_DATETIME_ に更新するよう予約しました。"
101 97
 
102
-#: ../rucy.php:496
103
-#, fuzzy
104
-msgid "Do not input \"attachment\" or \"revision\". "
105
-msgstr "postもしくはpageは入力できません。"
98
+#: ../inc/class-rucy-editor.php:316
99
+msgid "registered rollback content _RC_ROLLBACK_DATETIME_ "
100
+msgstr "_RC_ROLLBACK_DATETIME_ にロールバックします。"
106 101
 
107
-#: ../rucy.php:523
102
+#: ../inc/class-rucy-setting.php:31 ../inc/class-rucy-setting.php:33
103
+msgid "Success to setting update."
104
+msgstr "設定の更新が完了しました。"
105
+
106
+#: ../inc/class-rucy-setting.php:37
107
+msgid "Failed to setting update."
108
+msgstr "設定の更新に失敗。"
109
+
110
+#: ../inc/class-rucy-setting.php:45
108 111
 msgid "Rucy Settings"
109 112
 msgstr "予約更新設定"
110 113
 
111
-#: ../rucy.php:524
114
+#: ../inc/class-rucy-setting.php:46
112 115
 msgid "Configure content types reservation update."
113 116
 msgstr "予約更新する投稿タイプを設定してください。"
114 117
 
115
-#: ../rucy.php:529
118
+#: ../inc/class-rucy-setting.php:48
119
+msgid "Your contribution will continue to better this plugin."
120
+msgstr "あなたの貢献があれば、このプラグインをもっと良くすることができます。"
121
+
122
+#: ../inc/class-rucy-setting.php:48
123
+msgid "Donate"
124
+msgstr "寄付する"
125
+
126
+#: ../inc/class-rucy-setting.php:54
116 127
 msgid "post type"
117 128
 msgstr "投稿タイプ"
118 129
 
119
-#: ../rucy.php:529
120
-msgid "Require"
121
-msgstr "必須"
130
+#: ../inc/class-rucy-setting.php:69
131
+msgid "Save Changes"
132
+msgstr "変更を保存"
133
+
134
+#~ msgid "Set featured image Reservation"
135
+#~ msgstr "予約更新用アイキャッチ画像を設定"
122 136
 
123
-#: ../rucy.php:532
124
-msgid "post"
125
-msgstr "投稿"
137
+#~ msgid "Reservation Update DateTime"
138
+#~ msgstr "予約更新日時"
126 139
 
127
-#: ../rucy.php:533
128
-msgid "page"
129
-msgstr "固定ページ"
140
+#~ msgid "None"
141
+#~ msgstr "なし"
130 142
 
131
-#: ../rucy.php:544
132
-msgid "custom post type"
133
-msgstr "カスタム投稿タイプ"
143
+#~ msgid "post or page is not allow."
144
+#~ msgstr "カスタム投稿タイプにpostもしくはpageは入力できません。"
134 145
 
135
-#: ../rucy.php:546
136
-msgid "Separated by commas"
137
-msgstr "カンマ区切りで入力"
146
+#~ msgid "Do not input \"post\" or \"page\". "
147
+#~ msgstr "postもしくはpageは入力できません。"
138 148
 
139
-#: ../rucy.php:559
140
-msgid "Save Changes"
141
-msgstr "変更を保存"
149
+#~ msgid ""
150
+#~ "Please input alphabet or numeric. And do not input sequencial commas."
151
+#~ msgstr "英数のみ入力してください。また、連続でカンマの入力はできません。"
152
+
153
+#, fuzzy
154
+#~ msgid "Do not input \"attachment\" or \"revision\". "
155
+#~ msgstr "postもしくはpageは入力できません。"
156
+
157
+#~ msgid "Require"
158
+#~ msgstr "必須"
159
+
160
+#~ msgid "post"
161
+#~ msgstr "投稿"
162
+
163
+#~ msgid "page"
164
+#~ msgstr "固定ページ"
165
+
166
+#~ msgid "custom post type"
167
+#~ msgstr "カスタム投稿タイプ"
168
+
169
+#~ msgid "Separated by commas"
170
+#~ msgstr "カンマ区切りで入力"
142 171
 
143
-#: ../rucy.php:618
144
-msgid "Settings"
145
-msgstr "設定"
172
+#~ msgid "Settings"
173
+#~ msgstr "設定"