Ticket #8432: channelscan_tr_v3.diff

File channelscan_tr_v3.diff, 5.8 KB (added by Kenni Lund <kenni@…>, 10 years ago)
  • mythtv/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
     
    1617SOURCES += ../programs/mythlcdserver/*.cpp
    1718SOURCES += ../programs/mythtranscode/*.cpp
    1819SOURCES += ../programs/mythtv-setup/*.cpp
     20SOURCES += ../programs/mythtv-setup/*.h
    1921SOURCES += ../programs/mythwelcome/*.cpp
    2022SOURCES += ../programs/mythshutdown/*.cpp
    2123SOURCES += ../programs/mythjobqueue/*.cpp
  • mythtv/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
  • mythtv/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}
  • mythtv/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
  • mythtv/libs/libmythtv/jobqueue.h

     
    1515
    1616// Strings are used by JobQueue::StatusText()
    1717#define JOBSTATUS_MAP(F) \
    18     F(JOB_UNKNOWN,      0x0000, tr("Unknown")) \
    19     F(JOB_QUEUED,       0x0001, tr("Queued")) \
    20     F(JOB_PENDING,      0x0002, tr("Pending")) \
    21     F(JOB_STARTING,     0x0003, tr("Starting")) \
    22     F(JOB_RUNNING,      0x0004, tr("Running")) \
    23     F(JOB_STOPPING,     0x0005, tr("Stopping")) \
    24     F(JOB_PAUSED,       0x0006, tr("Paused")) \
    25     F(JOB_RETRY,        0x0007, tr("Retrying")) \
    26     F(JOB_ERRORING,     0x0008, tr("Erroring")) \
    27     F(JOB_ABORTING,     0x0009, tr("Aborting")) \
     18    F(JOB_UNKNOWN,      0x0000, QObject::tr("Unknown")) \
     19    F(JOB_QUEUED,       0x0001, QObject::tr("Queued")) \
     20    F(JOB_PENDING,      0x0002, QObject::tr("Pending")) \
     21    F(JOB_STARTING,     0x0003, QObject::tr("Starting")) \
     22    F(JOB_RUNNING,      0x0004, QObject::tr("Running")) \
     23    F(JOB_STOPPING,     0x0005, QObject::tr("Stopping")) \
     24    F(JOB_PAUSED,       0x0006, QObject::tr("Paused")) \
     25    F(JOB_RETRY,        0x0007, QObject::tr("Retrying")) \
     26    F(JOB_ERRORING,     0x0008, QObject::tr("Erroring")) \
     27    F(JOB_ABORTING,     0x0009, QObject::tr("Aborting")) \
    2828    /* \
    2929     * JOB_DONE is a mask to indicate the job is done no matter what the \
    3030     * status \
    3131     */ \
    32     F(JOB_DONE,         0x0100, tr("Done (Invalid status!)")) \
    33     F(JOB_FINISHED,     0x0110, tr("Finished")) \
    34     F(JOB_ABORTED,      0x0120, tr("Aborted")) \
    35     F(JOB_ERRORED,      0x0130, tr("Errored")) \
    36     F(JOB_CANCELLED,    0x0140, tr("Cancelled")) \
     32    F(JOB_DONE,         0x0100, QObject::tr("Done (Invalid status!)")) \
     33    F(JOB_FINISHED,     0x0110, QObject::tr("Finished")) \
     34    F(JOB_ABORTED,      0x0120, QObject::tr("Aborted")) \
     35    F(JOB_ERRORED,      0x0130, QObject::tr("Errored")) \
     36    F(JOB_CANCELLED,    0x0140, QObject::tr("Cancelled")) \
    3737
    3838enum JobStatus {
    3939#define JOBSTATUS_ENUM(A,B,C)   A = B ,
  • mythtv/libs/libmythtv/scanwizard.cpp

     
    143143
    144144        MythPopupBox::showOkPopup(
    145145            gContext->GetMainWindow(), tr("ScanWizard"),
    146             "Programmer Error, see console");
     146            tr("Programmer Error, see console"));
    147147    }
    148148
    149149    // Just verify what we get from the UI...