I18n: use format strings for Cycles version error messages #104488

Merged
Brecht Van Lommel merged 1 commits from pioverfour/blender:dp_cycles_make_versions_use_format_strings into main 2023-02-09 15:48:21 +01:00

1 Commits

Author SHA1 Message Date
Damien Picard de3d5f3456 I18n: use format strings for Cycles version error messages
buildbot/vexp-code-patch-coordinator Build done. Details
The required version numbers for various devices was hardcoded in the
UI messages. The result was that every time one of these versions was
bumped, every language team had to update the message in question.

Instead, the version numbers can be extracted, and injected into the
error messages using string formatting so that translation updates
need happen less frequently.
2023-02-08 22:36:07 +01:00