Skip to content

Commit

Permalink
fixed template and language file (fixes #629)
Browse files Browse the repository at this point in the history
  • Loading branch information
kawahara committed Feb 13, 2010
1 parent ad8a39c commit be6a612
Show file tree
Hide file tree
Showing 18 changed files with 154 additions and 164 deletions.
99 changes: 46 additions & 53 deletions apps/mobile_frontend/i18n/messages.ja.xml
Expand Up @@ -3,105 +3,98 @@
<file orginal="global" source-language="en" datatype="plaintext">
<body>
<trans-unit id="1">
<source>Show detail</source>
<target>詳細を見る</target>
<source>Show detail</source>
<target>詳細を見る</target>
</trans-unit>

<trans-unit id="2">
<source>Access number No1 member</source>
<target>アクセス数No1</target>
<source>Access number No1 member</source>
<target>アクセス数No1</target>
</trans-unit>
<trans-unit id="3">
<source>It is a ranking of the member with a lot of numbers of yesterday of accesses.</source>
<target>昨日のアクセスが多かったメンバーのランキングです。</target>
<source>It is a ranking of the member with a lot of numbers of yesterday of accesses.</source>
<target>昨日のアクセスが多かったメンバーのランキングです。</target>
</trans-unit>
<trans-unit id="4">
<source>Member of number No1 of friends</source>
<target>マイフレンド数No1</target>
<source>Member of number No1 of %friend%</source>
<target>%friend%数No1</target>
</trans-unit>
<trans-unit id="6">
<source>It is a ranking of the member with a lot of numbers of registered friends.</source>
<target>登録されているマイフレンドの数が多いメンバーのランキングです。</target>
<source>It is a ranking of the member with a lot of numbers of registered %friend%.</source>
<target>登録されている%friend%の数が多いメンバーのランキングです。</target>
</trans-unit>
<trans-unit id="7">
<source>Participation number No1 community</source>
<target>参加人数No1コミュニティ</target>
<source>Participation number No1 %community%</source>
<target>参加人数No1%community%</target>
</trans-unit>
<trans-unit id="8">
<source>It is a ranking of a lot of communities of the participant that are.</source>
<target>参加者の多いコミュニティのランキングです。</target>
<source>It is a ranking of a lot of %community% of the participant that are.</source>
<target>参加者の多い%community%のランキングです。</target>
</trans-unit>
<trans-unit id="9">
<source>No1 community at each upsurge</source>
<target>盛り上がり度No1コミュニティ</target>
<source>No1 %community% at each upsurge</source>
<target>盛り上がり度No1%community%</target>
</trans-unit>
<trans-unit id="10">
<source>It is a ranking of the community with a lot of numbers of yesterday of bulletin board writing.</source>
<target>昨日の掲示板書き込み数が多かったコミュニティのランキングです。</target>
<source>It is a ranking of the %community% with a lot of numbers of yesterday of bulletin board writing.</source>
<target>昨日の掲示板書き込み数が多かった%community%のランキングです。</target>
</trans-unit>

<trans-unit id="11">
<source>No%s</source>
<target>第%s位</target>
<source>No%0%</source>
<target>第%0%位</target>
</trans-unit>
<trans-unit id="12">
<source>Category</source>
<target>カテゴリ</target>
<source>Category</source>
<target>カテゴリ</target>
</trans-unit>
<trans-unit id="13">
<source>Manager</source>
<target>管理者</target>
<source>Manager</source>
<target>管理者</target>
</trans-unit>
<trans-unit id="14">
<source>Description</source>
<target>紹介文</target>
<source>Description</source>
<target>紹介文</target>
</trans-unit>

<trans-unit id="15">
<source> :%saccess</source>
<target>さん :%sアクセス</target>
<source>%0% :%1% access</source>
<target>%0%さん :%1%アクセス</target>
</trans-unit>

<trans-unit id="16">
<source> :%smember</source>
<target>さん :%s人</target>
<source>%0% :%1% member</source>
<target>%0%さん :%1%人</target>
</trans-unit>

<trans-unit id="17">
<source>:%smember</source>
<target>:%s人</target>
</trans-unit>

<trans-unit id="17">
<source>:%swriting</source>
<target>:書き込み%s件</target>
<source>:%0% member</source>
<target>:%0%人</target>
</trans-unit>

<trans-unit id="18">
<source>all member is 0 access</source>
<target>全てのメンバーは0アクセスです</target>
<source>:%0% writing</source>
<target>:書き込み%0%件</target>
</trans-unit>

<trans-unit id="19">
<source>There is no member who has a MyFriend</source>
<target>マイフレンドがいるメンバーがいません</target>
<source>all member is 0 access</source>
<target>全てのメンバーは0アクセスです</target>
</trans-unit>

<trans-unit id="20">
<source>No community</source>
<target>コミュニティがありません</target>
<source>There is no member who has a %friend%</source>
<target>%friend%がいるメンバーがいません</target>
</trans-unit>

<trans-unit id="21">
<source>Not written</source>
<target>書き込まれていません</target>
<source>No %community%</source>
<target>%community%がありません</target>
</trans-unit>

<trans-unit id="22">
<source>Ranking</source>
<target>ランキング</target>
<source>Not written</source>
<target>書き込まれていません</target>
</trans-unit>

<trans-unit id="23">
<source>Ranking</source>
<target>ランキング</target>
</trans-unit>
</body>
</file>
</xliff>
Expand Up @@ -8,8 +8,8 @@
for ($i = 0; $i < $member_list['number']; $i++)
{
$member = $member_list['model'][$i];
$list[] = sprintf(__('No%s'), $member_list['rank'][$i]) . '<br />'
. link_to($member->getName(), 'member/profile?id=' . $member->getId()) . sprintf(__(' :%saccess'), $member_list['count'][$i]);
$list[] = __('No%0%', array('%0%' => $member_list['rank'][$i])).'<br>'
. __('%0% :%1% access', array('%0%' => link_to($member->getName(), 'member/profile?id='.$member->getId()), '%1%' => $member_list['count'][$i]));
}

$options = array(
Expand Down
@@ -1,5 +1,5 @@
<?php

op_mobile_page_title(__('Ranking'), __('Participation number No1 community'));
op_mobile_page_title(__('Ranking'), __('Participation number No1 %community%'));
echo '<center>' . __('No community') . '</center>';
op_include_parts('rankingLink', 'RankingLink');
@@ -1,15 +1,15 @@
<?php

op_mobile_page_title(__('Ranking'), __('Participation number No1 community'));
op_mobile_page_title(__('Ranking'), __('Participation number No1 %community%'));

echo '<center>' . __('It is a ranking of a lot of communities of the participant that are.') . '</center>';
echo '<center>'.__('It is a ranking of a lot of %community% of the participant that are.', array('%community%' => $op_term['community']->pluralize())).'</center>';

$list = array();
for ($i = 0; $i < $ranking['number']; $i++)
{
$community = $ranking['model'][$i];
$list[] = sprintf(__('No%s'), $ranking['rank'][$i]) . '<br />'
. link_to($community->getName(), 'community/home/id/' . $community->getId()) . ' ' . sprintf(__(':%smember'), $ranking['count'][$i]);
$list[] = __('No%0%', array('%0%' => $ranking['rank'][$i])).'<br>'
. link_to($community->getName(), 'community/home?id='.$community->getId()).' '.__(':%0% member', array('%0%' => $ranking['count'][$i]));
}

$options = array(
Expand Down
@@ -1,5 +1,5 @@
<?php

op_mobile_page_title(__('Ranking'), __('Member of number No1 of friends'));
echo '<center>' . __('There is no member who has a MyFriend') . '</center>';
op_mobile_page_title(__('Ranking'), __('Member of number No1 of %friend%', array('%friend%' => $op_term['friend']->pluralize())));
echo '<center>' . __('There is no member who has a %friend%') . '</center>';
op_include_parts('rankingLink', 'RankingLink');
@@ -1,15 +1,15 @@
<?php

op_mobile_page_title(__('Ranking'), __('Member of number No1 of friends'));
op_mobile_page_title(__('Ranking'), __('Member of number No1 of %friend%', array('%friend%' => $op_term['friend']->pluralize())));

echo '<center>' . __('It is a ranking of the member with a lot of numbers of registered friends.') . '</center>';
echo '<center>'.__('It is a ranking of the member with a lot of numbers of registered %friend%.', array('%friend%' => $op_term['friend']->pluralize())).'</center>';

$list = array();
for ($i = 0; $i < $member_list['number']; $i++)
{
$member = $member_list['model'][$i];
$list[] = sprintf(__('No%s'), $member_list['rank'][$i]) . '<br />'
. link_to($member->getName(), 'member/profile?id=' . $member->getId()) . sprintf(__(' :%smember'), $member_list['count'][$i]);
$list[] = __('No%0%', array('%0%' => $member_list['rank'][$i])).'<br>'
. __('%0% :%1% member', array('%0%' => link_to($member->getName(), 'member/profile?id='.$member->getId()), '%1%' => $member_list['count'][$i]));
}

$options = array(
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile_frontend/modules/ranking/templates/topicError.php
@@ -1,5 +1,5 @@
<?php

op_mobile_page_title(__('Ranking'), __('No1 community at each upsurge'));
echo '<center>' . __('Not written') . '</center>';
op_mobile_page_title(__('Ranking'), __('No1 %community% at each upsurge'));
echo '<center>'.__('Not written').'</center>';
op_include_parts('rankingLink', 'RankingLink');
@@ -1,14 +1,14 @@
<?php
op_mobile_page_title(__('Ranking'), __('No1 community at each upsurge'));
op_mobile_page_title(__('Ranking'), __('No1 %community% at each upsurge'));

echo '<center>' . __('It is a ranking of the community with a lot of numbers of yesterday of bulletin board writing.') . '</center>';
echo '<center>'.__('It is a ranking of the %community% with a lot of numbers of yesterday of bulletin board writing.').'</center>';

$list = array();
for ($i = 0; $i < $ranking['number']; $i++)
{
$community = $ranking['model'][$i];
$list[] = sprintf(__('No%s'), $ranking['rank'][$i]) . '<br />'
. link_to($community->getName(), 'community/home/id/' . $community->getId()) . ' ' . sprintf(__(':%swriting'), $ranking['count'][$i]);
$list[] = __('No%0%', array('%0%' => $ranking['rank'][$i])).'<br>'
. link_to($community->getName(), 'community/home?id='.$community->getId()).' '.__(':%0% writing', array('%0%' => $ranking['count'][$i]));
}

$options = array(
Expand Down
12 changes: 6 additions & 6 deletions apps/mobile_frontend/templates/_partsRankingLink.php
@@ -1,8 +1,8 @@
<?php if (class_exists('AshiatoPeer')): ?>
<?php echo link_to(__('Access number No1 member'), 'ranking/access') ?><br>
<?php if (class_exists('Ashiato')): ?>
<?php echo link_to(__('Access number No1 member'), '@ranking_access') ?><br>
<?php endif; ?>
<?php echo link_to(__('Member of number No1 of friends'), 'ranking/friend') ?><br>
<?php echo link_to(__('Participation number No1 community'), 'ranking/community') ?><br>
<?php if (class_exists('CommunityTopicCommentPeer')): ?>
<?php echo link_to(__('No1 community at each upsurge'), 'ranking/topic') ?>
<?php echo link_to(__('Member of number No1 of %friend%', array('%friend%' => $op_term['friend']->pluralize())), '@ranking_friend') ?><br>
<?php echo link_to(__('Participation number No1 %community%'), '@ranking_community') ?><br>
<?php if (class_exists('CommunityTopicComment')): ?>
<?php echo link_to(__('No1 %community% at each upsurge'), '@ranking_topic') ?>
<?php endif; ?>

0 comments on commit be6a612

Please sign in to comment.