<p></p>
<p><b>@1ec5</b> approved this pull request.</p>
<hr>
<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6342#discussion_r2291711473">test/lib/i18n_test.rb</a>:</p>
<pre style='color:#555'>> @@ -135,6 +142,16 @@ def check_values_for_raw_html(hash)
end
end
+ def check_values_for_gender_macro(hash)
+ hash.each_pair do |k, v|
+ if v.is_a? Hash
+ check_values_for_gender_macro(v)
+ else
+ raise "Avoid using GENDER macro in '#{k}: #{v}'" if v.include? "{{GENDER:"
</pre>
<p dir="auto">This would be a good way to detect the broken <code class="notranslate">{{PLURAL</code> syntax I spotted too, since the correct syntax on Translatewiki.net populates different entries in our YAML file instead of leaving that token around.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6342#pullrequestreview-3141671008">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNR7G3X5PYXBH5OQ6L3OX6JJAVCNFSM6AAAAACEPLQ6F2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTCNBRGY3TCMBQHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPWD3VGKB5A5A7OTPL3OX6JJA5CNFSM6AAAAACEPLQ6F2WGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTV3IIMGA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6342/review/3141671008</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6342#pullrequestreview-3141671008",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6342#pullrequestreview-3141671008",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>