Author Topic: Danish translation  (Read 1754 times)


  • Hero Member
  • *****
  • Posts: 789
Re: Danish translation
« Reply #15 on: August 21, 2016, 12:13:31 PM »
Thanks for checking in the patch.

Please git mv now avidemux/qt4/i18n/avidemux_da_DK.ts to avidemux/qt4/i18n/avidemux_da.ts and apply

Code: [Select]
diff --git a/avidemux/common/ADM_commonUI/DIA_prefs.cpp b/avidemux/common/ADM_commonUI/DIA_prefs.cpp
index 5cd6f4c..bb6e50c 100644
--- a/avidemux/common/ADM_commonUI/DIA_prefs.cpp
+++ b/avidemux/common/ADM_commonUI/DIA_prefs.cpp
@@ -389,7 +389,7 @@ std::string currentSdlDriver=getSdlDriverName();
      uint32_t languageIndex=0;
      languageDescriptor myLanguages[]={
                 {"auto","System language"},
-                {"da_DK","Dansk"},
+                {"da","Dansk"},


Re: space or no space after the slash in totalTime:

IMVHO the related place in avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp:1266 should be modified to match the string in avidemux/qt4/ADM_userInterfaces/ADM_gui/gui2.ui:1372 rather than translations should paint over the inconsistency. IMHO the space improves the visual perception in this case.

Code: [Select]
diff --git a/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp b/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp
index 43dd3d8..66d913e 100644
--- a/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp
+++ b/avidemux/qt4/ADM_userInterfaces/ADM_gui/Q_gui2.cpp
@@ -1263,7 +1263,7 @@ void UI_setTotalTime(uint64_t curTime)
  uint32_t shorty=(uint32_t)(curTime/1000);
-      sprintf(text, "/%02d:%02d:%02d.%03d", hh, mm, ss, ms);
+      sprintf(text, "/ %02d:%02d:%02d.%03d", hh, mm, ss, ms);