Ticket #172: mythtv_pt_br_support.2.patch

File mythtv_pt_br_support.2.patch, 1.5 KB (added by Marcelo Toledo <marcelo@…>, 14 years ago)

NOTE: Use this patch instead the other one that will not apply cleanly.

  • i18n/translate.pro

     
    6464TRANSLATIONS += mythfrontend_ja.ts mythfrontend_si.ts mythfrontend_fi.ts
    6565TRANSLATIONS += mythfrontend_zh_tw.ts
    6666TRANSLATIONS += mythfrontend_nb.ts
     67TRANSLATIONS += mythfrontend_pt_br.ts
  • i18n/i18n.pro

     
    1111trans.files += mythfrontend_ja.qm mythfrontend_si.qm mythfrontend_fi.qm
    1212trans.files += mythfrontend_zh_tw.qm
    1313trans.files += mythfrontend_nb.qm
     14trans.files += mythfrontend_pt_br.qm
    1415
    1516INSTALLS += trans
    1617
  • libs/libmyth/langsettings.cpp

     
    151151          << QString::fromUtf8("Suomi")       << "FI"   // Finnish
    152152          << QString::fromUtf8("Hanzi (Traditional)")
    153153              << "ZH_TW"                                // Traditional Chinese
    154           << QString::fromUtf8("Eesti")       << "ET";  // Estonian
     154          << QString::fromUtf8("Eesti")       << "ET"  // Estonian
     155          << QString::fromUtf8("Português Brasileiro")
     156              << "PT_BR";                                // Brazilian Portuguese
    155157    return langs;
    156158}
    157159