generic: remove KCalendarSystem leftovers

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-07-27 03:01:17 +03:00
parent fc4c832b3d
commit 938d0dd7e0
4 changed files with 4 additions and 5 deletions

View file

@ -16,8 +16,8 @@ dirs=`cat dirs`
find $dirs -maxdepth 1 -name "*.cpp" -print > files
find $dirs -maxdepth 1 -name "*.cc" -print >> files
find $dirs -maxdepth 1 -name "*.h" -print >> files
# Add the kdecore/date files not added in kdecalendarsystems.pot
find ./kdecore/date -name "*.cpp" -o -name "*.cc" -o -name "*.h" | grep -v -E kcalendarsystem.* >> files
# Add the kdecore/date files
find ./kdecore/date -name "*.cpp" -o -name "*.cc" -o -name "*.h" >> files
$EXTRACTRC `find $dirs -maxdepth 1 \( -name \*.rc -o -name \*.ui -o -name \*.kcfg \) ` >> rc.cpp || exit 11
$XGETTEXT -ktranslate:1,1t -ktranslate:1c,2,2t --files-from=files -o $podir/kdelibs4.pot
rm -f dirs files

View file

@ -1,3 +1,2 @@
#!/bin/bash
$XGETTEXT $(find -name "kcalendarsystem*.cpp") -o $podir/kdecalendarsystems.pot
$XGETTEXT TIMEZONES -o $podir/timezones4.pot

View file

@ -145,7 +145,7 @@ QString KCatalog::translate(const char *msgctxt, const char *msgid,
#endif
}
QString KCatalog::translateStrict(const char * msgctxt, const char * msgid) const
QString KCatalog::translateStrict(const char *msgctxt, const char *msgid) const
{
#ifndef QT_NO_TRANSLATION
return d->translator->translateStrict(msgctxt, msgid);

View file

@ -107,7 +107,7 @@ public:
*
* @return The translated message, or @p msgid if not found
*/
QString translate( const char *msgctxt, const char *msgid) const;
QString translate(const char *msgctxt, const char *msgid) const;
/**
* Retrieves a proper plural form of translation for the specified English