Fix set-string command missing parameter
This commit is contained in:
parent
49d592bfca
commit
2348d7c425
@ -50,6 +50,7 @@ def add_string(string):
|
|||||||
@click.command("set-string")
|
@click.command("set-string")
|
||||||
@click.argument("lang")
|
@click.argument("lang")
|
||||||
@click.argument("string")
|
@click.argument("string")
|
||||||
|
@click.argument("value")
|
||||||
def set_string(lang, string, value):
|
def set_string(lang, string, value):
|
||||||
"""Set the value of a string for a particular language's translation file."""
|
"""Set the value of a string for a particular language's translation file."""
|
||||||
path = Path("kanken_online/static/lang", f"{lang}.json")
|
path = Path("kanken_online/static/lang", f"{lang}.json")
|
||||||
|
Loading…
Reference in New Issue
Block a user