mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-27 01:33:32 +01:00
More ad hoc i18n work.
This commit is contained in:
@@ -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