Skip to content

Commit

Permalink
Fix a minor i18n issue in libphutil
Browse files Browse the repository at this point in the history
Summary:
Ref T5267. Fixes a missing `%s`.

Also ignores the `src/.cache/` directory, used for the i18n cache.

Test Plan: Extracted strings more cleanly.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T5267

Differential Revision: https://secure.phabricator.com/D16809
  • Loading branch information
epriestley committed Nov 7, 2016
1 parent e409df2 commit bf43020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -26,6 +26,7 @@

# libphutil
/src/.phutil_module_cache
/src/.cache
/support/phutiltestlib/.phutil_module_cache

# This file overrides "default.pem" if present.
Expand Down
2 changes: 1 addition & 1 deletion src/aphront/writeguard/AphrontWriteGuard.php
Expand Up @@ -98,7 +98,7 @@ public function dispose() {
if ($this->allowDepth > 0) {
throw new Exception(
pht(
'Imbalanced %s: more % calls than %s calls.',
'Imbalanced %s: more %s calls than %s calls.',
__CLASS__,
'beginUnguardedWrites()',
'endUnguardedWrites()'));
Expand Down

0 comments on commit bf43020

Please sign in to comment.