プロジェクト

全般

プロフィール

Bug(バグ) #4143

kaoru n約7年前に更新

h3. Overview (現象)

翻訳カタログに、下記のような設定があるため、ナビゲーションに %my_friend% を設定すると %my_friend%まで公開 と表示されてしまう。

https://github.com/openpne/OpenPNE3/blob/master/apps/pc_frontend/i18n/messages.ja.xml#L289-L296
<pre>
<trans-unit id="">
<source>%my_friend%</source>
<target>%my_friend%まで公開</target>
</trans-unit>
<trans-unit id="">
<source>Only Open to %my_friend%</source>
<target>%my_friend%まで公開</target>
</trans-unit>
</pre>

https://github.com/openpne/OpenPNE3/blob/master/apps/mobile_frontend/i18n/messages.ja.xml#L117-L124
<pre>
<trans-unit id="">
<source>%my_friend%</source>
<target>%my_friend%まで公開</target>
</trans-unit>
<trans-unit id="">
<source>Only Open to %my_friend%</source>
<target>%my_friend%まで公開</target>
</trans-unit>
</pre>

https://github.com/openpne/OpenPNE3/blob/master/apps/pc_backend/i18n/messages.ja.xml#L51-L54
<pre>
<trans-unit id="">
<source>%my_friend%</source>
<target>%my_friend%まで公開</target>
</trans-unit>
</pre>

h3. Causes (原因)

翻訳カタログに設定されている

h3. Way to fix (修正内容)

-翻訳カタログに下記のように設定する 翻訳カタログに下記のように設定する
<pre>
<trans-unit id="">
<source>%my_friend%</source>
<target>%my_friend%</target>
</trans-unit>
<trans-unit id="">
<source>Only Open to %my_friend%</source>
<target>%my_friend%まで公開</target>
</trans-unit>
</pre>
-

公開範囲用の翻訳カタログを追加する

戻る