自作したRedmineのプラグインを、Redmine0.9.0で動かすと Translation string with multiple values と怒られた。 production.logには DEPRECATION WARNING: using %s in messages is deprecated; use {{value}} instead.. とでていて、どうもRailsのどっかのバージョンで、言語ファイルの書き方が変わったらしい。 非推奨なのだったら、せめて動いて欲しいよね。。。 以下のような部分を <%= l(:recent_activity_status_log, old_name, new_name) %> こんな感じに直すらしい。 <%= l(:recent_activity_status_log, :old_name => old_name, :new_nam
![RedmineでTranslation string with multiple valuesと怒られた時](https://cdn-ak-scissors.b.st-hatena.com/image/square/8270013307f2e6b67d83ef326cd861903400d3b5/height=288;version=1;width=512/https%3A%2F%2Fdaipresents.com%2Fwp-content%2Fuploads%2F2022%2F01%2F07d58-cropped-2000px-zulu_flag.svg_.png%3Fw%3D200)