1
0
forked from 0ad/0ad
0ad/source/tools
Dunedan 32b9a27e9b Fix references in portable object templates
Up to now the references (lines starting with `#:`) in the portable
object templates generated by `updateTemplates.py` didn't comply with
the PO file format specification. They violated the specification in two
ways:

- White spaces in file names got replaced by non-breaking spaces
  (U+00A0), instead of the file names being enclosed by First Strong
  Isolate (U+2068) and Pop Directional Isolate (U+2069)
- the references didn't just include the filename and optionally the
  line number of the string, as defined in the specification, but also a
  non-standard "breadcrumb" component, which made them unnecessary
  hard to read in certain cases and difficult to use with tools
  expecting properly formatted references

This commit fixes both of these issues by properly encoding white
spaces and removing the breadcrumb component.

Patch by: @Dunedan
Accepted by: @Stan
Differential Revision: https://code.wildfiregames.com/D5309
This was SVN commit r28159.
2024-07-25 08:53:04 +00:00
..
atlas Don't use std::shared_ptr to store m_ScriptContext and m_ScriptInterface in the CGUIManager 2024-06-27 19:09:30 +00:00
autolog/SVNLog Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
cmpgraph Add script for generating mostly-useless component interaction graphs. 2011-01-07 20:31:48 +00:00
dist Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
entdocs Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
entgraph Fix line endings of all files in source/ except source/third_party/. 2016-07-25 09:07:45 +00:00
entity Tokens for required technologies. 2023-01-30 08:05:34 +00:00
fontbuilder2 Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
i18n Fix references in portable object templates 2024-07-25 08:53:04 +00:00
mapcompatibility Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
openlogsfolder Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
profiler2 Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
replayprofile Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
rlclient/python Add an 'Evaluate' RL endpoint, intended for dynamic game balancing 2021-02-28 12:16:32 +00:00
spirv Fixes SPIRV compile script for newer versions of spirv-reflect. 2023-09-20 17:25:14 +00:00
springimport Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
templatesanalyzer Re-add missing script 2023-01-19 00:24:04 +00:00
templatessorter Templates sorting utility. Closes #801. 2011-07-30 20:20:34 +00:00
tracelogger [SM52 1/2] Upgrade Spidermonkey build system and binaries to 52.9.1 2020-11-18 14:34:17 +00:00
webservices Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
xmlvalidator Replace checkrefs.pl by a python script. This makes it easier to run on Windows for non technical persons. 2022-02-12 15:43:42 +00:00
LICENSE.txt Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00