From df3b2b80df25426d39942091737ec60a19b2c66d Mon Sep 17 00:00:00 2001 From: Cake Date: Wed, 14 Apr 2010 15:06:34 +0900 Subject: [PATCH] =?utf8?q?=E5=A4=9A=E8=A8=80=E8=AA=9E=E5=8C=96=E6=BC=8F?= =?utf8?q?=E3=82=8C=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- app/locale/jpn/LC_MESSAGES/default.po | 18 ++++++++++--- app/locale/jpn/LC_MESSAGES/manual.po | 24 +++++++++++++++++ app/views/users/admin_add.ctp | 51 +++++++++++++++++++++++++++++++++++ app/views/users/login.ctp | 6 +++-- 4 files changed, 94 insertions(+), 5 deletions(-) create mode 100644 app/locale/jpn/LC_MESSAGES/manual.po diff --git a/app/locale/jpn/LC_MESSAGES/default.po b/app/locale/jpn/LC_MESSAGES/default.po index 892f5ce..22e1655 100644 --- a/app/locale/jpn/LC_MESSAGES/default.po +++ b/app/locale/jpn/LC_MESSAGES/default.po @@ -818,7 +818,7 @@ msgstr "更新日" #: /views/character_sheets/admin_add.ctp:4 msgid "Add CharacterSheet" -msgstr "スキン追加" +msgstr "キャラクターシート追加" #: /views/character_sheets/admin_add.ctp:8 #: /views/character_sheets/admin_index.ctp:24 @@ -830,6 +830,11 @@ msgstr "スキン追加" msgid "System" msgstr "システム" +#: /views/character_sheets/admin_add.ctp:11;27 +#: /views/characters/add.ctp:38 +msgid "No Editable" +msgstr "後から変更不可" + #: /views/character_sheets/admin_add.ctp:18 #: /views/character_sheets/admin_index.ctp:21 #: /views/profile_tables/admin_add.ctp:25 @@ -944,7 +949,7 @@ msgstr "全%page%~%pages%ページ %count%件中、%current%件表示, %start% #: /views/helpers/select.php:90 #: /views/systems/admin_index.ctp:17 msgid "Public" -msgstr "全体に公開" +msgstr "公開" #: /views/character_sheets/admin_index.ctp:83 #: /views/characters/admin_index.ctp:27;118 @@ -1034,7 +1039,7 @@ msgstr "キャラクター" #: /views/characters/change_system.ctp:14 msgid "Previous System is unpubic or deleted. You can select New system." -msgstr "以前のシステムは非公開、あるいは削除されました。新しいシステムを選択できます。" +msgstr "以前のシステムは非公開になったか、あるいは削除されました。新しいシステムを選択できます。" #: /views/characters/change_system.ctp:21 msgid "If Changing, your character loose the ALL Profiles belonging the previous System." @@ -2034,3 +2039,10 @@ msgstr "" msgid "Debug setting does not allow access to this url." msgstr "" +#: /cake/libs/controller/components/auth.php:430: +msgid "Login failed. Invalid username or password." +msgstr "ユーザIDあるいはパスワードが違います。" + +#: /cake/libs/controller/components/auth.php:431: +msgid "You are not authorized to access that location." +msgstr "このページを見るためにはログインが必要です。" diff --git a/app/locale/jpn/LC_MESSAGES/manual.po b/app/locale/jpn/LC_MESSAGES/manual.po new file mode 100644 index 0000000..df2d997 --- /dev/null +++ b/app/locale/jpn/LC_MESSAGES/manual.po @@ -0,0 +1,24 @@ +# LANGUAGE translation of CakePHP Application +# Copyright YEAR NAME +# No version information was available in the source files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"POT-Creation-Date: 2010-04-13 21:49+0900\n" +"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n" +"Last-Translator: NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: /cake/libs/controller/components/auth.php:430: +msgid "Login failed. Invalid username or password." +msgstr "ユーザIDあるいはパスワードが違います。" + +#: /cake/libs/controller/components/auth.php:431: +msgid "You are not authorized to access that location." +msgstr "ログインして下さい。" diff --git a/app/views/users/admin_add.ctp b/app/views/users/admin_add.ctp index e69de29..d0baff5 100644 --- a/app/views/users/admin_add.ctp +++ b/app/views/users/admin_add.ctp @@ -0,0 +1,51 @@ +
+create('User');?> +
+ +input('name', array( + 'label' => __('YourName', true), + )); + echo $form->input('username', array( + 'label' => __('UserId', true), + 'maxlength' => $idLength['max'], + 'after' => $html->tag( + 'div', + sprintf(__('Between %d to %d characters', true), $idLength['min'], $idLength['max']), + array('class' => 'attention') + ) + )); + echo $form->input('group_id', array( + 'label' => __('GroupId', true), + )); + echo $form->input('password1', array( + 'type' => 'password', + 'label' => __('Password', true), + 'maxlength' => $passwordLength['max'], + 'after' => $html->tag( + 'div', + sprintf(__('Between %d to %d characters', true), $passwordLength['min'], $passwordLength['max']), + array('class' => 'attention') + ) + )); + echo $form->input('password2', array( + 'type' => 'password', + 'label' => __('Password [confirm]', true), + 'maxlength' => $passwordLength['max'], + )); + echo $token->create(); +?> +
+end('Submit');?> +
+ +
+create('', array('url' => array( + 'controller' => 'users', 'action' => 'admin_view', $this->data['User']['id']), + 'type' => 'GET', + 'id' => 'CancelButton' + )); + echo $form->end('Cancel'); +?> +
diff --git a/app/views/users/login.ctp b/app/views/users/login.ctp index 668bb5a..f01485f 100644 --- a/app/views/users/login.ctp +++ b/app/views/users/login.ctp @@ -1,5 +1,7 @@ create('User', array('action' => 'login')); - echo $form->input('username'); + echo $form->input('username', array( + 'label' => __('UserId', true), + )); echo $form->input('password'); - echo $form->end('Login'); + echo $form->end(__('Login', true)); -- 2.11.0