Skip to content

Commit

Permalink
Recognize exception variables, not just inplace CTORs
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Sep 26, 2024
1 parent f6f171a commit bbc0734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/i18n_review.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,8 @@ namespace i18n_check
if (m_reviewStyles & check_not_available_for_l10n)
{
if (!should_exceptions_be_translatable() &&
m_exceptions.find(str.m_usage.m_value) != m_exceptions.cend())
(m_exceptions.find(str.m_usage.m_value) != m_exceptions.cend() ||
m_exceptions.find(str.m_usage.m_variableType) != m_exceptions.cend()))
{
return;
}
Expand Down

0 comments on commit bbc0734

Please sign in to comment.