Factorio: locale formatting fixes

This commit is contained in:
Fabian Dill 2021-06-26 00:54:27 +02:00
parent 43e3c84635
commit 5fdcd2d7c7
1 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
[technology-name] [technology-name]
{% for original_tech_name, item_name, receiving_player, advancement in locations %} {% 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 }} ap-{{ tech_table[original_tech_name] }}-={{ player_names[receiving_player] }}'s {{ item_name }}
{% else %} {%- else %}
ap-{{ tech_table[original_tech_name] }}-=An Archipelago Sendable ap-{{ tech_table[original_tech_name] }}-=An Archipelago Sendable
{%- endif -%} {%- endif -%}
{% endfor %} {% endfor %}
@ -11,10 +11,10 @@ ap-{{ tech_table[original_tech_name] }}-=An Archipelago Sendable
[technology-description] [technology-description]
{% for original_tech_name, item_name, receiving_player, advancement in locations %} {% 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] }}-=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 %} {%- 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 }}". 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 %} {%- 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 -%} {%- endif -%}
{% endfor %} {% endfor %}