diff options
Diffstat (limited to 'client')
| -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..8802f661 --- /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 +	msgmerge -vU $@ $< | 
