OSDN Git Service

スキンサンプルのミス修正
authorCake <cake_67@users.sourceforge.jp>
Wed, 12 Jan 2011 10:18:39 +0000 (19:18 +0900)
committerCake <cake_67@users.sourceforge.jp>
Wed, 12 Jan 2011 10:18:39 +0000 (19:18 +0900)
app/locale/jpn/LC_MESSAGES/default.po
app/views/elements/character_sheet_skinsample.ctp

index fd2586e..971998c 100644 (file)
@@ -934,6 +934,11 @@ msgstr "例: {C:name} → キャラクター名"
 msgid "{T:***} - {/T} and {M:***} - {/M} mean the repeating. You can use them for the table type or the multi-input type profiles."
 msgstr "{T:***}~{/T} と {M:***}~{/M}は「~を繰り返し表示」であり、テーブル形式や複数入力のプロフィールで用います。"
 
+
+msgid "You cannot BREAK in {T:***} - {/T} and {M:***} - {/M}."
+msgstr "{T:***}~{/T} と {M:***}~{/M}の中では、改行できません。"
+
+
 msgid "You can use the following HTML tags "
 msgstr "以下のHTMLタグが使用可能です。"
 
index 9ec2140..6e2cbcc 100644 (file)
@@ -14,6 +14,7 @@
 <li><?php __('For Example, Skin : {C:name} -> View: CharacterName'); ?></li>
 </ul></li>
 <li><?php __('{T:***} - {/T} and {M:***} - {/M} mean the repeating. You can use them for the table type or the multi-input type profiles.'); ?></li>
+<li><?php __('You cannot BREAK in {T:***} - {/T} and {M:***} - {/M}.'); ?></li>
 <?php if (empty($admin)): ?>
 <li><?php __('You can use the following HTML tags '); ?>
 <pre>
@@ -246,7 +247,7 @@ foreach ($system['Profile'] as $profile):
                $sampleData[] = $profile['name'];
                foreach ($profile['ProfileTable'] as $j => $table) {
                        $cols[$j] = $table['tablekey_name'];
-                       $format_th .= '&lt;th&gt;'. sprintf('{%s:title}', $table['tablekey_name']). '&lt;/th&gt;';
+                       $format_th .= '&lt;th&gt;'. sprintf('%s', $table['title']). '&lt;/th&gt;';
                        $sample_th .= '<th>%s</th>';
                        $sampleData[] = $table['title'];
                }
@@ -308,7 +309,7 @@ foreach ($system['Profile'] as $profile):
                        $table_keyname = $table['tablekey_name'];
                        $sampleData[] = $table['title'];
 
-                       $format_th .= '&lt;th&gt;'. sprintf('{%s:title}', $table_keyname). '&lt;/th&gt;';
+                       $format_th .= '&lt;th&gt;'. sprintf('%s', $table['title']). '&lt;/th&gt;';
                        $format_td .= '&lt;td&gt;'. sprintf('{%s}', $table_keyname). '&lt;/td&gt;';
                        $sample_th .= '<th>%s</th>';
                        $sample_td .= '<td>%s</td>';
@@ -326,6 +327,10 @@ foreach ($system['Profile'] as $profile):
                $format_pattern .= '{T:%s}'. $format_td. '{/T}'."\n";
                $format_pattern .= '&lt;/tr&gt;
                                &lt;/table&gt;';
+               $formatData = array( 
+                       $profile['key_name'], 
+                       $profile['key_name']
+               );
 
                $sample_pattern = '<table>
                                <caption>%s</caption>