Skip to content

Commit 893d2a2

Browse files
committed
Escape colons in properties files
1 parent 7a0ba9f commit 893d2a2

2 files changed

Lines changed: 78 additions & 78 deletions

File tree

src/main/resources/messages/MinecraftDevelopment.properties

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
# along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
#
2020

21-
creator.ui.build_system.label=Build System:
21+
creator.ui.build_system.label=Build System\:
2222
creator.ui.build_system.label.gradle=Gradle
2323
creator.ui.build_system.label.maven=Maven
2424

2525
creator.ui.group.title=Build System Properties
26-
creator.ui.group.group_id=Group ID:
27-
creator.ui.group.artifact_id=Artifact ID:
28-
creator.ui.group.version=Version:
26+
creator.ui.group.group_id=Group ID\:
27+
creator.ui.group.artifact_id=Artifact ID\:
28+
creator.ui.group.version=Version\:
2929

30-
creator.ui.platform.type.label=Platform Type:
31-
creator.ui.platform.label=Platform:
30+
creator.ui.platform.type.label=Platform Type\:
31+
creator.ui.platform.label=Platform\:
3232
creator.ui.platform.mod.name=Mod
3333
creator.ui.platform.plugin.name=Plugin
3434
creator.ui.group.default.label=Default
@@ -37,77 +37,77 @@ creator.ui.group.plugin.label=Plugin
3737
creator.ui.group.proxy.label=Proxy
3838

3939
creator.ui.custom.step.description=Creating project based on template...
40-
creator.ui.custom.repos.label=Repositories:
41-
creator.ui.custom.groups.label=Groups:
42-
creator.ui.custom.templates.label=Templates:
43-
creator.ui.custom.path.label=Templates Path:
40+
creator.ui.custom.repos.label=Repositories\:
41+
creator.ui.custom.groups.label=Groups\:
42+
creator.ui.custom.templates.label=Templates\:
43+
creator.ui.custom.path.label=Templates Path\:
4444
creator.ui.custom.path.dialog.title=Template Root
4545
creator.ui.custom.path.dialog.description=Select the root directory of the template repository
4646
creator.ui.custom.archive.dialog.title=Template Archive
4747
creator.ui.custom.archive.dialog.description=Select the ZIP file containing the template
48-
creator.ui.custom.remote.url.label=Download URL:
48+
creator.ui.custom.remote.url.label=Download URL\:
4949
creator.ui.custom.remote.url.comment='$version' will be replaced by the template descriptor version currently in use
50-
creator.ui.custom.remote.inner_path.label=Inner Path:
50+
creator.ui.custom.remote.inner_path.label=Inner Path\:
5151
creator.ui.custom.remote.inner_path.comment='$version' will be replaced by the template descriptor version currently in use
52-
creator.ui.custom.remote.auth_type.label=Authentication:
53-
creator.ui.custom.remote.basic_auth.username.label=Username:
54-
creator.ui.custom.remote.basic_auth.password.label=Password:
55-
creator.ui.custom.remote.bearer_token.label=Bearer Token:
56-
creator.ui.custom.remote.git_http_provider.label=Git HTTP Auth Provider:
57-
creator.ui.custom.remote.git_http_account.label=Git HTTP Account:
58-
creator.ui.custom.remote.custom_header.name.label=Name:
59-
creator.ui.custom.remote.custom_header.value.label=Value:
52+
creator.ui.custom.remote.auth_type.label=Authentication\:
53+
creator.ui.custom.remote.basic_auth.username.label=Username\:
54+
creator.ui.custom.remote.basic_auth.password.label=Password\:
55+
creator.ui.custom.remote.bearer_token.label=Bearer Token\:
56+
creator.ui.custom.remote.git_http_provider.label=Git HTTP Auth Provider\:
57+
creator.ui.custom.remote.git_http_account.label=Git HTTP Account\:
58+
creator.ui.custom.remote.custom_header.name.label=Name\:
59+
creator.ui.custom.remote.custom_header.value.label=Value\:
6060
creator.ui.custom.remote.auto_update.label=Auto update
6161

6262
creator.ui.warn.no_properties=This template has no properties
63-
creator.ui.error.template_warns_and_errors=This template contains warnings and errors:
64-
creator.ui.error.template_warns=This template contains warnings:
65-
creator.ui.error.template_errors=This template contains errors:
66-
67-
creator.ui.license.label=License:
68-
creator.ui.main_class.label=Main Class:
69-
creator.ui.mc_version.label=Minecraft &Version:
70-
creator.ui.mod_name.label=Mod &Name:
71-
creator.ui.mod_id.label=Mod &ID:
72-
creator.ui.plugin_name.label=Plugin &Name:
73-
creator.ui.plugin_id.label=Plugin &ID:
74-
creator.ui.description.label=Description:
75-
creator.ui.authors.label=Authors:
76-
creator.ui.website.label=Website:
77-
creator.ui.repository.label=Repository:
78-
creator.ui.issue_tracker.label=Issue Tracker:
79-
creator.ui.update_url.label=Update URL:
80-
creator.ui.depend.label=Depend:
81-
creator.ui.log_prefix.label=Log Prefix:
82-
creator.ui.load_at.label=Load At:
63+
creator.ui.error.template_warns_and_errors=This template contains warnings and errors\:
64+
creator.ui.error.template_warns=This template contains warnings\:
65+
creator.ui.error.template_errors=This template contains errors\:
66+
67+
creator.ui.license.label=License\:
68+
creator.ui.main_class.label=Main Class\:
69+
creator.ui.mc_version.label=Minecraft &Version\:
70+
creator.ui.mod_name.label=Mod &Name\:
71+
creator.ui.mod_id.label=Mod &ID\:
72+
creator.ui.plugin_name.label=Plugin &Name\:
73+
creator.ui.plugin_id.label=Plugin &ID\:
74+
creator.ui.description.label=Description\:
75+
creator.ui.authors.label=Authors\:
76+
creator.ui.website.label=Website\:
77+
creator.ui.repository.label=Repository\:
78+
creator.ui.issue_tracker.label=Issue Tracker\:
79+
creator.ui.update_url.label=Update URL\:
80+
creator.ui.depend.label=Depend\:
81+
creator.ui.log_prefix.label=Log Prefix\:
82+
creator.ui.load_at.label=Load At\:
8383
creator.ui.load_at.option.startup=Startup
8484
creator.ui.load_at.option.postworld=Post World
85-
creator.ui.soft_depend.label=Soft Depend:
86-
creator.ui.use_mixins.label=Use &Mixins:
87-
creator.ui.split_sources.label=Split Sources:
88-
creator.ui.java_version.label=Java Version:
89-
creator.ui.jdk.label=JDK:
85+
creator.ui.soft_depend.label=Soft Depend\:
86+
creator.ui.use_mixins.label=Use &Mixins\:
87+
creator.ui.split_sources.label=Split Sources\:
88+
creator.ui.java_version.label=Java Version\:
89+
creator.ui.jdk.label=JDK\:
9090
creator.ui.optional_settings.label=Optional Settings
91-
creator.ui.parchment.label=Parchment:
92-
creator.ui.parchment.include.label=Include:
91+
creator.ui.parchment.label=Parchment\:
92+
creator.ui.parchment.include.label=Include\:
9393
creator.ui.parchment.include.old_mc.label=Older Minecraft versions
9494
creator.ui.parchment.include.snapshots.label=Snapshot versions
9595
creator.ui.parchment.no_version.message=No versions of Parchment matching your configuration
96-
creator.ui.mod_environment.label=Environment:
96+
creator.ui.mod_environment.label=Environment\:
9797
creator.ui.mod_environment.option.*=Both
9898
creator.ui.mod_environment.option.client=Client
9999
creator.ui.mod_environment.option.server=Server
100-
creator.ui.forge_version.label=Forge:
101-
creator.ui.neoforge_version.label=NeoForge:
102-
creator.ui.show_snapshots.label=Show snapshots:
103-
creator.ui.loom_version.label=Loom Version:
104-
creator.ui.loader_version.label=Loader Version:
105-
creator.ui.yarn_version.label=Yarn Version:
100+
creator.ui.forge_version.label=Forge\:
101+
creator.ui.neoforge_version.label=NeoForge\:
102+
creator.ui.show_snapshots.label=Show snapshots\:
103+
creator.ui.loom_version.label=Loom Version\:
104+
creator.ui.loader_version.label=Loader Version\:
105+
creator.ui.yarn_version.label=Yarn Version\:
106106
creator.ui.use_official_mappings.label=Use official mappings
107-
creator.ui.fabricapi_version.label=Fabric API Version:
107+
creator.ui.fabricapi_version.label=Fabric API Version\:
108108
creator.ui.use_fabricapi.label=Use Fabric API
109-
creator.ui.spongeapi_version.label=Sponge Version:
110-
creator.ui.velocity_version.label=Velocity Version:
109+
creator.ui.spongeapi_version.label=Sponge Version\:
110+
creator.ui.velocity_version.label=Velocity Version\:
111111
creator.ui.versions_download.label=Downloading versions...
112112

113113
creator.ui.warn.no_yarn_to_mc_match=Unable to match Yarn versions to Minecraft version
@@ -159,13 +159,13 @@ error_reporter.report.created.action=View issue
159159
error_reporter.report.commented=Commented on existing Issue #{0} successfully.
160160
error_reporter.report.commented.action=View comment
161161

162-
error_reporter.report.error=Error Submitting Issue: {0}.
162+
error_reporter.report.error=Error Submitting Issue\: {0}.
163163
error_reporter.report.error.action=Open an issue on the GitHub issue tracker
164164

165165
facet.editor.name=Minecraft Module Settings
166166
facet.reimport.failed.title=Minecraft facet refresh
167167
facet.reimport.failed.content.no_error=Failed to start project refresh, please refresh your project manually.
168-
facet.reimport.failed.content.with_error=Failed to start project refresh, please refresh your project manually. Cause: {0}
168+
facet.reimport.failed.content.with_error=Failed to start project refresh, please refresh your project manually. Cause\: {0}
169169

170170
generate.event_listener.title=Event Listener
171171
generate.event_listener.settings=Event Listener Settings
@@ -201,18 +201,18 @@ inspection.entity_data_param.fix=Replace other entity class with this entity cla
201201

202202
nbt.compression.gzip=GZipped
203203
nbt.compression.uncompressed=Uncompressed
204-
nbt.compression.file_type.label=Compression:
204+
nbt.compression.file_type.label=Compression\:
205205
nbt.compression.save.button=Save
206206

207207
nbt.file_type.name=NBT
208208
nbt.file_type.description=NBT
209209

210210
nbt.lang.annotate.material=Material
211-
nbt.lang.annotate.type_byte=Type: byte
212-
nbt.lang.annotate.type_short=Type: short
213-
nbt.lang.annotate.type_long=Type: long
214-
nbt.lang.annotate.type_float=Type: float
215-
nbt.lang.annotate.type_double=Type: double
211+
nbt.lang.annotate.type_byte=Type\: byte
212+
nbt.lang.annotate.type_short=Type\: short
213+
nbt.lang.annotate.type_long=Type\: long
214+
nbt.lang.annotate.type_float=Type\: float
215+
nbt.lang.annotate.type_double=Type\: double
216216

217217
nbt.lang.display_name=NBT Text
218218
nbt.lang.description=NBT text representation (don't use this one)
@@ -240,12 +240,12 @@ nbt.lang.inlay_hints.children={0} children
240240

241241
nbt.lang.errors.unknown=Unknown error.
242242
nbt.lang.errors.invalid_list=Lists can only contain elements of the same type.
243-
nbt.lang.errors.wrong_tag_id=Unexpected tag id found: {0}.
243+
nbt.lang.errors.wrong_tag_id=Unexpected tag id found\: {0}.
244244
nbt.lang.errors.invalid_root=Root tag in NBT file is not a compound.
245245
nbt.lang.errors.reading=Error reading file.
246-
nbt.lang.errors.parse_timeout=NBT parse timeout exceeded - Parse time: {0}, Timeout: {1}.
246+
nbt.lang.errors.parse_timeout=NBT parse timeout exceeded - Parse time\: {0}, Timeout\: {1}.
247247

248-
nbt.lang.errors.wrapped_error_message=Malformed NBT file:\n{0}
248+
nbt.lang.errors.wrapped_error_message=Malformed NBT file\:\n{0}
249249

250250
nbt.editor.name=NBT Text
251251

@@ -259,7 +259,7 @@ nbt.file.save_notify.file_type_error.content=The file is not recognised as a NBT
259259
nbt.file.save_notify.parse_error.title=Error saving NBT file
260260
nbt.file.save_notify.parse_error.content=Due to errors in the text representation, {0} could not be saved.
261261
nbt.file.save_notify.parse_exception.title=Error saving NBT file
262-
nbt.file.save_notify.parse_exception.content=An unexpected exception happened, {0} could not be saved: {1}
262+
nbt.file.save_notify.parse_exception.content=An unexpected exception happened, {0} could not be saved\: {1}
263263

264264
intention.error.cannot.create.class.message=Cannot create class ''{0}''\n{1}
265265
intention.error.cannot.create.class.title=Failed to Create Class
@@ -269,10 +269,10 @@ translation_sort.order=Sort Order
269269
translation_sort.keep_comment=Keep Comment
270270

271271
minecraft.settings.change_update_channel=Change Plugin Update Channel
272-
minecraft.settings.chat_color_underline_style=Chat color underline style:
272+
minecraft.settings.chat_color_underline_style=Chat color underline style\:
273273
minecraft.settings.display_name=Minecraft Development
274274
minecraft.settings.creator=Creator
275-
minecraft.settings.creator.repos=Template Repositories:
275+
minecraft.settings.creator.repos=Template Repositories\:
276276
minecraft.settings.creator.repos.column.name=Name
277277
minecraft.settings.creator.repos.column.provider=Provider
278278
minecraft.settings.creator.repos.column.provider.none=None
@@ -283,10 +283,10 @@ minecraft.settings.creator.repos.column.provider.header=Custom Header
283283
minecraft.settings.creator.repo_config.title={0} Template Repo Configuration
284284
minecraft.settings.creator.repo.default_name=My Repo
285285
minecraft.settings.creator.repo.builtin_name=Built In
286-
minecraft.settings.creator.maven=Maven Repositories:
287-
minecraft.settings.creator.maven.comment=If Username is blank, credentials are sourced from either:\
288-
<br>- <a href="mcdev://maven_settings">~/.m2/settings.xml</a> servers, see <a href="https://maven.apache.org/settings.html#Servers">Maven's documentation</a>\
289-
<br>- <a href="mcdev://gradle_properties">~/.gradle/gradle.properties</a>, see <a href="https://docs.gradle.org/current/userguide/supported_repository_protocols.html#sec:handling-credentials">Gradle's documentation</a>
286+
minecraft.settings.creator.maven=Maven Repositories\:
287+
minecraft.settings.creator.maven.comment=If Username is blank, credentials are sourced from either\:\
288+
<br>- <a href="mcdev\://maven_settings">~/.m2/settings.xml</a> servers, see <a href="https\://maven.apache.org/settings.html#Servers">Maven's documentation</a>\
289+
<br>- <a href="mcdev\://gradle_properties">~/.gradle/gradle.properties</a>, see <a href="https\://docs.gradle.org/current/userguide/supported_repository_protocols.html#sec\:handling-credentials">Gradle's documentation</a>
290290
minecraft.settings.creator.maven.column.id=ID
291291
minecraft.settings.creator.maven.column.id.tooltip=The server ID as it is in the Maven's settings.xml, or Gradle's home gradle.properties.
292292
minecraft.settings.creator.maven.column.url=URL
@@ -298,11 +298,11 @@ minecraft.settings.creator.maven.default_id=repo-id
298298
minecraft.settings.force_external_annotations=Force external annotations in Minecraft projects
299299
minecraft.settings.force_external_annotations.comment=The plugin uses external annotations to provide support for some features, like recognizing translation methods.
300300
minecraft.settings.lang_template.display_name=Localization Template
301-
minecraft.settings.lang_template.scheme=Scheme:
301+
minecraft.settings.lang_template.scheme=Scheme\:
302302
minecraft.settings.lang_template.project_must_be_selected=You must have selected a project for this!
303303
minecraft.settings.lang_template.comment=<html>You may edit the template used for translation key sorting here.\
304304
<br> Each line may be empty, a comment (with <font face="monospace">#</font>) or a glob pattern for matching translation keys (like <font face="monospace">"item.*"</font>).\
305-
<br> <b>Note: Empty lines are respected and will be put into the sorting result.</b></html>
305+
<br> <b>Note\: Empty lines are respected and will be put into the sorting result.</b></html>
306306
minecraft.settings.mixin.definition_pos_relative_to_expression=@Definition position relative to @Expression
307307
minecraft.settings.mixin.mixin_class_icon=Show Mixin class icon
308308
minecraft.settings.mixin.shadow_annotation_same_line=@Shadow annotations on same line

src/main/resources/messages/MinecraftDevelopment_zh.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ creator.ui.group.group_id=组 ID:
2727
creator.ui.group.artifact_id=工件 ID:
2828
creator.ui.group.version=版本:
2929

30-
creator.ui.platform.type.label=平台类型:
30+
creator.ui.platform.type.label=平台类型\:
3131
creator.ui.platform.label=平台:
3232
creator.ui.platform.mod.name=Mod
3333
creator.ui.platform.plugin.name=Plugin

0 commit comments

Comments
 (0)