Ticket #3445: 3445_mythweb_english_gb_cats_v1.diff

File 3445_mythweb_english_gb_cats_v1.diff, 2.2 KB (added by Nick Morrott <knowledgejunkie@…>, 17 years ago)

English_GB.cat display/regex updates

  • mythplugins/mythweb/modules/_shared/lang/English_GB.cat

     
    88    Animals
    99    \b(?:animal|tiere)
    1010"Art_Music"
    11     Art_Music
     11    Art / Music
    1212    \b(?:art|dance|music|cultur)
    1313"Business"
    1414    Business
    1515    \b(?:biz|busine)
    1616"Children"
    17     Children
    18     \b(?:child|infan|animation)
     17    Kids / Teen
     18    \b(?:child|infan|animation|kids|youth)
    1919"Comedy"
    2020    Comedy
    2121    \b(?:comed|entertain|sitcom)
     
    3535    Food
    3636    \b(?:food|cook|drink)
    3737"Game"
    38     Game
     38    Game Show
    3939    \b(?:game)
    4040"Health_Medical"
    4141    Health / Medical
     
    4848    \b(?:horror)
    4949"HowTo"
    5050    HowTo
    51     \b(?:how|home|house|garden)
     51    \b(?:how|home|house|garden|leisure|consumer)
    5252"Misc"
    5353    Misc
    5454    \b(?:special|variety|info|collect)
     55"movie"
     56    Film
     57    \b(?:film|movie)
    5558"News"
    5659    News
    5760    \b(?:news|current)
     
    6164"Romance"
    6265    Romance
    6366    \b(?:romance)
     67"Science_Nature"
     68    Science / Nature
     69    \b(?:science|nature|environment)
    6470"SciFi_Fantasy"
    6571    SciFi / Fantasy
    6672    \b(?:fantasy|sci\w*\W*fi)
    67 "Science_Nature"
    68     Science / Nature
    69     \b(?:science|nature|environment)
    7073"Shopping"
    7174    Shopping
    7275    \b(?:shop)
     
    8083    Sports
    8184    \b(?:sport)
    8285"Talk"
    83     Talk
     86    Talk Show
    8487    \b(?:talk)
    8588"Travel"
    8689    Travel
     
    9497"Western"
    9598    Western
    9699    \b(?:west)
    97 "movie"
    98     Film
    99     \b(?:film|movie)
  • mythplugins/mythweb/modules/tv/handler.php

     
    3838        load_tv_categories(modules_path.'/_shared/lang/English.cat');
    3939
    4040// Two categories that don't need regex matches, but do need translation
    41     $Categories['Unknown'] = array(t('Unknown'));
    42     $Categories['movie']   = array(t('movie'));
     41//    $Categories['Unknown'] = array(t('Unknown'));
     42//    $Categories['movie']   = array(t('movie'));
    4343
    4444// Don't forget to sort
    4545    function category_name_sort($a, $b) {