Spaces in textdomain
Moderator: Forum Moderators
- Atreides
- Posts: 1079
- Joined: March 30th, 2019, 10:38 pm
- Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off
Spaces in textdomain
I was wondering if having spaces like:
causes problems?
Code: Select all
#textdomain wesnoth-Extended Armies Era
- Lord-Knightmare
- Discord Moderator
- Posts: 2370
- Joined: May 24th, 2010, 5:26 pm
- Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
- Contact:
Re: Spaces in textdomain
Can you run wmlgettext on it and see what turns up?Atreides wrote: ↑January 12th, 2023, 2:44 am I was wondering if having spaces like:
causes problems?Code: Select all
#textdomain wesnoth-Extended Armies Era
Creator of "War of Legends"
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Creator of the Isle of Mists survival scenario.
Maintainer of Forward They Cried
User:Knyghtmare | My Medium
Re: Spaces in textdomain
According to the documentation, spaces are invalid. The only valid characters are letters, numbers, underscore and dash.
- Atreides
- Posts: 1079
- Joined: March 30th, 2019, 10:38 pm
- Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off
Re: Spaces in textdomain
Thanks both. Running wmlgettext caused it to abort after doing 1 file. I see from the docs that spaces are indeed illegal. I'm on Linux so I'm already "space averse" (hehe) but naturally I'm dealing with someone elses work here. Oh well easy fix I think.