aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-07-25 12:45:37 +0200
committernokoe <nokoe@mailbox.org>2024-07-25 12:46:17 +0200
commit1a3a718ec9ad5305d8472c4354de833fabdaeb54 (patch)
tree306895ee7d9bcc452b46cb7e67eca59ee590e039
parentbc210b2632891ca163d31fb57bc0c41769249bf5 (diff)
downloadhurrycurry-1a3a718ec9ad5305d8472c4354de833fabdaeb54.tar
hurrycurry-1a3a718ec9ad5305d8472c4354de833fabdaeb54.tar.bz2
hurrycurry-1a3a718ec9ad5305d8472c4354de833fabdaeb54.tar.zst
update po files with makefile
-rw-r--r--client/.gitignore1
-rw-r--r--client/menu/character.gd2
-rw-r--r--client/po/makefile21
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 $@ $<