Ticket #172: mythtv_pt_br_support.patch

File mythtv_pt_br_support.patch, 1.3 KB (added by Marcelo Toledo <marcelo@…>, 19 years ago)

Patch that adds support for brazilian portuguese, modifies i18n/translate.pro, i18n/i18n.pro and also libs/libmyth/langsettings.cpp

  • 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

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