Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion definition.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: map-layer-fixes
display-name: Map Layer Fixes
version: 0.1.3
version: 0.1.4
type: module
author: Krarilotus
dependencies:
framework: ">=3.0.7"
meta:
version: 1.0.0
tags:
- maps
- bugfixes
5 changes: 4 additions & 1 deletion locale/ch.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "地图",
"tags.bugfixes": "错误修复"
}
5 changes: 4 additions & 1 deletion locale/de.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "Karten",
"tags.bugfixes": "Fehlerkorrekturen"
}
5 changes: 4 additions & 1 deletion locale/en.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "Maps",
"tags.bugfixes": "Bug fixes"
}
5 changes: 4 additions & 1 deletion locale/es.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "Mapas",
"tags.bugfixes": "Correcciones"
}
5 changes: 4 additions & 1 deletion locale/fa.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "نقشه‌ها",
"tags.bugfixes": "رفع اشکال"
}
5 changes: 4 additions & 1 deletion locale/fr.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "Cartes",
"tags.bugfixes": "Corrections"
}
5 changes: 4 additions & 1 deletion locale/hu.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "Térképek",
"tags.bugfixes": "Hibajavítások"
}
5 changes: 4 additions & 1 deletion locale/ru.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "Карты",
"tags.bugfixes": "Исправления"
}
5 changes: 4 additions & 1 deletion locale/tr.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"tags.maps": "Haritalar",
"tags.bugfixes": "Hata düzeltmeleri"
}
6 changes: 4 additions & 2 deletions tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ def test_release_contains_launcher_descriptions_and_instructions(self):
self.assertIn('1.41', description)
self.assertIn('3.0.7', description)
self.assertNotIn('\ufffd', description)
# No configurable options: valid empty YAML mappings suffice.
self.assertEqual(json.loads(content.read(root + f'locale/{language}.yml')), {})
labels = json.loads(content.read(root + f'locale/{language}.yml'))
self.assertEqual(set(labels), {'tags.maps', 'tags.bugfixes'})
self.assertTrue(all(isinstance(value, str) and value.strip()
for value in labels.values()))
self.assertIn('definition.yml', content.namelist())
self.assertNotIn(archive.stem + '/definition.yml', content.namelist())
self.assertFalse(any('/tests/' in name or name.endswith(('.exe', '.sav'))
Expand Down
Loading