mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 23:02:30 +02:00
More ad hoc i18n work.
This commit is contained in:
1 parent
477b1139fc
commit
a52a0dc61f
17 files changed
+65
-56
No files matched your search
@@ -661,7 +661,7 @@ const Player = Module("player", {
|
||||
let arg = args[0];
|
||||
|
||||
dactyl.assert(arg, _("error.argumentRequired"));
|
||||
dactyl.assert(/^[+-]?\d+$/.test(arg), _("error.trailing"));
|
||||
dactyl.assert(/^[+-]?\d+$/.test(arg), _("error.trailingCharacters"));
|
||||
|
||||
let level = parseInt(arg, 10) / 100;
|
||||
|
||||
|
||||
Reference in new issue
Block a user