From 3dd071e39be494baa7efa8a7db4ef572431a49ac Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 27 Feb 2023 16:18:38 +0100 Subject: [PATCH] Usual i18n/UI messages fixes. --- scripts/modules/bl_i18n_utils/settings.py | 12 ++++++------ scripts/modules/bl_i18n_utils/utils_spell_check.py | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/scripts/modules/bl_i18n_utils/settings.py b/scripts/modules/bl_i18n_utils/settings.py index d95574ff409..08790796d11 100644 --- a/scripts/modules/bl_i18n_utils/settings.py +++ b/scripts/modules/bl_i18n_utils/settings.py @@ -365,11 +365,10 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = { # Sub-strings. "all", "all and invert unselected", - "and AMD driver version 22.10 or newer", - "and AMD Radeon Pro 21.Q4 driver or newer", - "and Linux driver version xx.xx.23904 or newer", - "and NVIDIA driver version 470 or newer", - "and Windows driver version 101.3430 or newer", + "and AMD driver version %s or newer", + "and AMD Radeon Pro %s driver or newer", + "and NVIDIA driver version %s or newer", + "and Windows driver version %s or newer", "available with", "brown fox", "can't save image while rendering", @@ -379,6 +378,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = { "custom", "custom matrix", "custom orientation", + "drag-", "edge data", "exp(A)", "expected a timeline/animation area to be active", @@ -403,7 +403,7 @@ WARN_MSGID_NOT_CAPITALIZED_ALLOWED = { "name", "non-triangle face", "normal", - "or AMD with macOS 12.3 or newer", + "or AMD with macOS %s or newer", "performance impact!", "positions", "no positions", "read", diff --git a/scripts/modules/bl_i18n_utils/utils_spell_check.py b/scripts/modules/bl_i18n_utils/utils_spell_check.py index 82ac9ea4970..eb0dbc88006 100644 --- a/scripts/modules/bl_i18n_utils/utils_spell_check.py +++ b/scripts/modules/bl_i18n_utils/utils_spell_check.py @@ -84,6 +84,7 @@ class SpellChecker: "autoscale", "autosmooth", "autosplit", + "backend", "backface", "backfacing", "backimage", "backscattered", @@ -220,6 +221,7 @@ class SpellChecker: "submode", "submodule", "submodules", "subpath", + "subsample", "subsamples", "subsampling", "subsize", "substep", "substeps", "substring", @@ -829,6 +831,7 @@ class SpellChecker: "targa", "tga", "tiff", "theora", + "usdz", "vorbis", "vp9", "wav",