Kaydet (Commit) 3fa79c0f authored tarafından Caolán McNamara's avatar Caolán McNamara

disallow .ui translatable entries without context at checkin

Change-Id: Iece6ae3c4eabad4cd113f469495d2c42833a7b92
Reviewed-on: https://gerrit.libreoffice.org/42157Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c14be5f5
......@@ -92,6 +92,11 @@ sub check_whitespaces($)
{
bad_line("use tooltip_text instead of tooltip_markup", $_, $src_limited);
}
if ((/translatable="yes"/) and not(/context=/))
{
bad_line("translatable .ui file line without context", $_, $src_limited);
}
}
}
if ( $found_bad)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment