Ticket #8432: channelscan_tr.diff

File channelscan_tr.diff, 2.8 KB (added by Nicolas Riendeau <knight@…>, 10 years ago)
  • i18n/translate.pro

     
    55SOURCES += ../libs/libmythtv/*.cpp
    66SOURCES += ../libs/libmythtv/*.h
    77SOURCES += ../libs/libmythtv/channelscan/*.cpp
     8SOURCES += ../libs/libmythtv/channelscan/*.h
    89SOURCES += ../libs/libmythtv/iptv/*.cpp
    910SOURCES += ../libs/libmythtv/mpeg/*.cpp
    1011SOURCES += ../libs/libmythui/*.cpp
  • libs/libmythtv/channelscan/paneexistingscanimport.h

     
    4444        VerticalConfigurationGroup(false,false,true,false),
    4545        sourceid(0), scanSelect(new TransComboBoxSetting())
    4646    {
    47         scanSelect->setLabel(tr("Scan to Import"));
     47        scanSelect->setLabel(QObject::tr("Scan to Import"));
    4848        addChild(scanSelect);
    4949    }
    5050
  • libs/libmythtv/channelscan/frequencytablesetting.cpp

     
    8181    else if (qtcountry == QLocale::Denmark)
    8282        country = "da";
    8383
    84     setLabel(tr("Country"));
     84    setLabel(QObject::tr("Country"));
    8585    addSelection(QObject::tr("Australia"),      "au", country == "au");
    8686    addSelection(QObject::tr("Czech Republic"), "cz", country == "cz");
    8787    addSelection(QObject::tr("Denmark"),        "da", country == "da");
     
    106106    else if (qtcountry == QLocale::UnitedKingdom)
    107107        country = "uk";
    108108
    109     setLabel(tr("Country"));
     109    setLabel(QObject::tr("Country"));
    110110    addSelection(QObject::tr("Germany"),        "de", country == "de");
    111111    addSelection(QObject::tr("United Kingdom"), "uk", country == "uk");
    112112}
  • libs/libmythtv/channelscan/channelscanmiscsettings.h

     
    8787                        "TV+Radio - Adds all services with audio, "
    8888                        "All - Adds all services "
    8989                        "(including data only serices)."));
    90         addSelection(tr("TV"),       "tv", true);
    91         addSelection(tr("TV+Radio"), "audio");
    92         addSelection(tr("All"),      "all");
     90        addSelection(QObject::tr("TV"),       "tv", true);
     91        addSelection(QObject::tr("TV+Radio"), "audio");
     92        addSelection(QObject::tr("All"),      "all");
    9393    };
    9494
    9595    ServiceRequirements GetServiceRequirements(void) const