OSDN Git Service

キャラクター作成時にシステム「その他」だと後で変更できる点の説明追加
authorCake <cake_67@users.sourceforge.jp>
Wed, 12 Jan 2011 16:09:48 +0000 (01:09 +0900)
committerCake <cake_67@users.sourceforge.jp>
Wed, 12 Jan 2011 16:09:48 +0000 (01:09 +0900)
app/locale/jpn/LC_MESSAGES/default.po
app/views/characters/add.ctp

index 971998c..ae4b59a 100644 (file)
@@ -985,6 +985,9 @@ msgstr "システム"
 msgid "No Editable"
 msgstr "後から変更不可"
 
+msgid "No Editable EXCEPT you select OTHER SYSTEM. OTHER SYSTEM can be changed."
+msgstr "「その他」以外は後から変更不可。「その他」のみシステム変更可能です"
+
 #: /views/character_sheets/admin_add.ctp:35
 #: /views/character_sheets/admin_index.ctp:21
 #: /views/profile_tables/admin_add.ctp:25
index 0cf1df3..d88e3a2 100644 (file)
                echo $systems[$this->params['named']['system_id']];
                echo '</div>';
        } else {
+               if (!empty($site_configs['System.otherSetting']['value'])) {
+                       $after = __('No Editable EXCEPT you select OTHER SYSTEM. OTHER SYSTEM can be changed.', true);
+               } else {
+                       $after = __('No Editable', true);
+               }
                echo $form->input('system_id', array(
                        'label' => __('System', true),
                        'after' => $html->tag(
                                'div',
-                               __('No Editable', true),
+                               $after,
                                array('class' => 'required')
                        )
                ));