Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarerero committed May 4, 2019
1 parent bfddc8e commit fc4c44d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/t9n.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
summary: "Almost i18n, with standard translations for basic meteor packages.",
version: "2.5.0",
version: "2.5.1",
name: "softwarerero:accounts-t9n",
git: "https://github.com/softwarerero/meteor-accounts-t9n.git",
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "meteor-accounts-t9n",
"version": "2.5.0",
"version": "2.5.1",
"description": "Translations for Meteor projects, almost i18n",
"repository": "https://github.com/softwarerero/meteor-accounts-t9n",
"bugs": "https://github.com/softwarerero/meteor-accounts-t9n/issues",
Expand Down
2 changes: 1 addition & 1 deletion smart.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Translations for the meteor account's error messages",
"homepage": "https://github.com/softwarerero/meteor-accounts-t9n",
"author": "Stefan Undorf <el@softwarerero.com>",
"version": "2.5.0",
"version": "2.5.1",
"git": "https://github.com/softwarerero/meteor-accounts-t9n.git",
"packages": {}
}
2 changes: 1 addition & 1 deletion t9n.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class T9n
while index1 > -1
index1 = strCopy.indexOf('@{')
if index1 > -1
index2 = strCopy.substring(index1).indexOf('}') # no nested tokens
index2 = strCopy.indexOf('}') # no nested tokens
token = strCopy.substring(index1, index2 + 1)
if token.indexOf('->') > -1
value = @handleSelector(strCopy, args, token)
Expand Down

0 comments on commit fc4c44d

Please sign in to comment.