Changeset 98204 for trunk/dports/aqua


Ignore:
Timestamp:
Sep 29, 2012, 7:34:57 AM (7 years ago)
Author:
nicos@…
Message:

djview: replacing personal patch with upstream one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/djview/files/patch-djview.cpp.diff

    r97959 r98204  
    11--- src/djview.cpp.orig 2012-04-10 12:56:55.000000000 +0900
    2 +++ src/djview.cpp      2012-09-21 02:25:07.000000000 +0900
    3 @@ -120,13 +120,13 @@
    4  #endif
    5    
    6    // Install translators
    7 -  QStringList langs = getTranslationLangs();
    8 -  QTranslator *qtTrans = new QTranslator(this);
    9 -  if (loadTranslator(qtTrans, "qt", langs))
    10 -    installTranslator(qtTrans);
    11 -  QTranslator *djviewTrans = new QTranslator(this);
    12 -  if (loadTranslator(djviewTrans, "djview", langs))
    13 -    installTranslator(djviewTrans);
    14 +//  QStringList langs = getTranslationLangs();
    15 +//  QTranslator *qtTrans = new QTranslator(this);
    16 +//  if (loadTranslator(qtTrans, "qt", langs))
    17 +//    installTranslator(qtTrans);
    18 +//  QTranslator *djviewTrans = new QTranslator(this);
    19 +//  if (loadTranslator(djviewTrans, "djview", langs))
    20 +//    installTranslator(djviewTrans);
    21  
    22    // Application is ready
    23    appReady = true;
     2+++ src/djview.cpp      2012-09-24 10:36:22.000000000 +0900
     3@@ -242,9 +242,9 @@
     4           if (qdir.exists())
     5             if (trans->load(name + "_" + lang, dir, "_.-"))
     6               return true;
     7-          if (lang.startsWith("en_") || lang == "en" || lang == "c")
     8-            break;
     9         }
     10+               if (lang.startsWith("en_") || lang == "en" || lang == "c")
     11+            break;             
     12     }
     13   return false;
     14 }
Note: See TracChangeset for help on using the changeset viewer.