archesproject / arches-for-science

Arches for Science
13 stars 9 forks source link

[i18n] remove hard-coded card labels #1519

Open jacobtylerwalls opened 9 months ago

jacobtylerwalls commented 9 months ago

On localization branch: // TODO(i18n): card name

jacobtylerwalls commented 9 months ago

Related, there are a bunch of card names I marked for translation that it would be better to get from the graph, to avoid making work for translators, and to be resilient against future changes:

example:

<h6 class="afs-block-key">{% trans "Beginning of the end" }: </h6>
chiatt commented 9 months ago

e.g. digital-resource.htm line 92

aarongundel commented 8 months ago

Dropping this back to pursue another issue - the draft PR contains patterns for dealing with this issue in other models - it's resolved in the Physical Thing and Digital Resource models.