From 1a3a718ec9ad5305d8472c4354de833fabdaeb54 Mon Sep 17 00:00:00 2001 From: nokoe Date: Thu, 25 Jul 2024 12:45:37 +0200 Subject: update po files with makefile --- client/.gitignore | 1 + client/menu/character.gd | 2 +- client/po/makefile | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 client/po/makefile (limited to 'client') 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 . +# +.PHONY: all + +all: $(wildcard *.po) + +%.po: hurrycurry.pot + msgmerge -vU $@ $< -- cgit v1.2.3-70-g09d2