08c0a1b852
When using ruby interpolation in externalized strings, they can't be detected. Which means they will never be presented to be translated. To mix variables into translations we need to use `sprintf` instead. Instead of: _("Hello #{subject}") Use: _("Hello %{subject}) % { subject: 'world' } |
||
---|---|---|
.. | ||
gitlab | ||
migration | ||
rspec | ||
avoid_break_from_strong_memoize_spec.rb | ||
avoid_return_from_blocks_spec.rb | ||
destroy_all_spec.rb | ||
include_sidekiq_worker_spec.rb | ||
line_break_around_conditional_block_spec.rb | ||
project_path_helper_spec.rb | ||
ruby_interpolation_in_translation_spec.rb | ||
sidekiq_options_queue_spec.rb |