From 5fdcd2d7c7c15a73a945e2f5c83d1cb0a3edbda1 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 26 Jun 2021 00:54:27 +0200 Subject: [PATCH] Factorio: locale formatting fixes --- data/factorio/mod_template/locale/en/locale.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/factorio/mod_template/locale/en/locale.cfg b/data/factorio/mod_template/locale/en/locale.cfg index f3a0d044..9c35cb8b 100644 --- a/data/factorio/mod_template/locale/en/locale.cfg +++ b/data/factorio/mod_template/locale/en/locale.cfg @@ -1,9 +1,9 @@ [technology-name] {% for original_tech_name, item_name, receiving_player, advancement in locations %} -{%- if tech_tree_information == 2 or original_tech_name in static_nodes -%} +{%- if tech_tree_information == 2 or original_tech_name in static_nodes %} ap-{{ tech_table[original_tech_name] }}-={{ player_names[receiving_player] }}'s {{ item_name }} -{% else %} +{%- else %} ap-{{ tech_table[original_tech_name] }}-=An Archipelago Sendable {%- endif -%} {% endfor %} @@ -11,10 +11,10 @@ ap-{{ tech_table[original_tech_name] }}-=An Archipelago Sendable [technology-description] {% for original_tech_name, item_name, receiving_player, advancement in locations %} {%- if tech_tree_information == 2 or original_tech_name in static_nodes %} -ap-{{ tech_table[original_tech_name] }}-=Researching this technology sends {{ item_name }} to {{ player_names[receiving_player] }}{% if advancement %}, which is considered a logical advancement{% endif %}. For purposes of hints, this location is called "{{ original_tech_name }}". +ap-{{ tech_table[original_tech_name] }}-=Researching this technology sends {{ item_name }} to {{ player_names[receiving_player] }}{% if advancement %}, which is considered a logical advancement{% endif %}. {%- elif tech_tree_information == 1 and advancement %} ap-{{ tech_table[original_tech_name] }}-=Researching this technology sends something to someone, which is considered a logical advancement. For purposes of hints, this location is called "{{ original_tech_name }}". {%- else %} -ap-{{ tech_table[original_tech_name] }}-=Researching this technology sends something to someone. +ap-{{ tech_table[original_tech_name] }}-=Researching this technology sends something to someone. For purposes of hints, this location is called "{{ original_tech_name }}". {%- endif -%} {% endfor %} \ No newline at end of file