Commit 7cdd0f76 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt setTranslator and addCredit too

parent a6574626
......@@ -53,6 +53,22 @@ foreach my $file (@ARGV) {
s/KLocalizedString\b/QString/g;
}
}
if (/(\w+)\.addCredit\s*\(/) {
my $var = $1;
if ( defined $varname{$var} ) {
s/ki18n/i18n/g;
s/KLocalizedString\b/QString/g;
}
}
if (/(\w+)\.setTranslator\s*\(/) {
my $var = $1;
if ( defined $varname{$var} ) {
s/ki18n/i18n/g;
s/KLocalizedString\b/QString/g;
}
}
s/K4AboutData::License_/KAboutLicense::/;
s/K4AboutData/KAboutData/g;
}
......
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