プロジェクト

全般

プロフィール

Bug(バグ) #4168

Youichi Kimura約7年前に更新

h3. Overview (概要)

SnsTerm の "複雑な使用例":https://github.com/openpne/OpenPNE3-doc/blob/master/cookbook/3.6/ja/use-sns-term-from-plugin.rst#%E8%A4%87%E9%9B%91%E3%81%AA%E4%BD%BF%E7%94%A8%E4%BE%8B に記載されている下記のようなコードが正しく動作せず、語形変化が適用されていない「friend」のまま出力される。 に記載されている下記のようなコードが正しく動作しない。

<pre><code class="php">
<?php echo __('%friend% are removed.', array('%friend%' => $op_term['friend']->pluralize()->fronting())); ?>
</code></pre>

この問題は #1759 における commit:9b2f55d8 の修正以降から発生している。

これにより、opDiaryPlugin の日記作成画面を英語で表示した際に「My Friends」と表示されるべき箇所が「my friend」と表示される状態になっている。

!{width:567px}スクリーンショット_2017-02-27_18.00.07.png!

h3. Causes (原因)

バグが発生した原因を記入

h3. Way to fix (修正内容)

修正内容を記入

戻る