Project

General

Profile

Actions

Bug #8154

open

Create custom cops to test for i18n guidelines

Added by Dominic Cleal over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We could do with some custom rubocop cops to check for:

1. array instead of hash style string interpolation, e.g. _("%s: %s") % [foo, bar]
2. #{} interpolation inside a string passed to _(), e.g. _("Foo #{bar}")

No data to display

Actions

Also available in: Atom PDF