diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-25 14:54:24 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-25 14:54:24 +0200 |
commit | e836bad945aa77f3e4589bd92fa8669f81bd3943 (patch) | |
tree | 191813609ab16d5e7a3f794266db1a2a1abd8b11 | |
parent | bd777ff17258293c83b3a086d765b38bb9fe5197 (diff) | |
parent | 96e03243dd0b9e7920a9945c6a56b7def2edd711 (diff) | |
download | hurrycurry-e836bad945aa77f3e4589bd92fa8669f81bd3943.tar hurrycurry-e836bad945aa77f3e4589bd92fa8669f81bd3943.tar.bz2 hurrycurry-e836bad945aa77f3e4589bd92fa8669f81bd3943.tar.zst |
Merge branch 'master' of https://codeberg.org/hurrycurry/hurrycurry
-rw-r--r-- | client/.gitignore | 1 | ||||
-rw-r--r-- | client/menu/character.gd | 2 | ||||
-rw-r--r-- | client/po/makefile | 21 |
3 files changed, 23 insertions, 1 deletions
diff --git a/client/.gitignore b/client/.gitignore index f191596c..3f0f2f48 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -1,3 +1,4 @@ .godot hurrycurry.pot *.mo +*.po~ diff --git a/client/menu/character.gd b/client/menu/character.gd index 97bd904d..862fc888 100644 --- a/client/menu/character.gd +++ b/client/menu/character.gd @@ -79,5 +79,5 @@ func _on_username_text_changed(new_text): var n = new_text.to_lower() if n.begins_with("f") and n.ends_with("miller"): await submenu("res://menu/warning_popup.tscn", tr("You cannot choose that name.\n(It's too close to your boss')")) - username_edit.text = "" + username_edit.text.clear() return diff --git a/client/po/makefile b/client/po/makefile new file mode 100644 index 00000000..62ee5471 --- /dev/null +++ b/client/po/makefile @@ -0,0 +1,21 @@ +# Hurry Curry! - a game about cooking +# Copyright 2024 nokoe +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, version 3 of the License only. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# +.PHONY: all + +all: $(wildcard *.po) + +%.po: hurrycurry.pot + if test -e $@; then msgmerge -vU $@ $<; else msginit --no-translator --locale=$@ --input=hurrycurry.pot; fi |