]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fix a translation ("to ignore these changes...")
authorepriestley <git@epriestley.com>
Mon, 1 Jun 2015 13:50:46 +0000 (06:50 -0700)
committerepriestley <git@epriestley.com>
Mon, 1 Jun 2015 13:50:46 +0000 (06:50 -0700)
Summary: Fixes T8374.

Test Plan:
```
$ arc diff
You have untracked files in this working copy.

  Working copy: /Users/epriestley/dev/core/lib/arcanist/

  Untracked changes in working copy:
  (To ignore this change, add it to ".git/info/exclude".)
    derp

    Ignore this untracked file and continue? [y/N] ^C
```

Reviewers: btrahan, joshuaspence, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T8374

Differential Revision: https://secure.phabricator.com/D13096

src/internationalization/ArcanistUSEnglishTranslation.php

index b468aaaf54e5f2bf0a1b475e0c17e3dcd253172a..3b2c71411a9b115fe4c8ef90996bbbb413edd706 100644 (file)
@@ -51,8 +51,8 @@ final class ArcanistUSEnglishTranslation extends PhutilTranslation {
       ),
 
       '(To ignore these %s change(s), add them to "%s".)' => array(
-        '(To ignore this change, add it to "%s".)',
-        '(To ignore these changes, add them to "%s".)',
+        '(To ignore this change, add it to "%2$s".)',
+        '(To ignore these changes, add them to "%2$s".)',
       ),
 
       '%s line(s)' => array('line', 'lines'),