Author Topic: Danish translation  (Read 3773 times)

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1302
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"},
                 {"de","Deutsch"},
                 {"en","English"},
                 {"es","Español"},

Thanks!

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);
 
     ms2time(shorty,&hh,&mm,&ss,&ms);
-      sprintf(text, "/%02d:%02d:%02d.%03d", hh, mm, ss, ms);
+      sprintf(text, "/ %02d:%02d:%02d.%03d", hh, mm, ss, ms);
     WIDGET(totalTime)->setText(text);
     slider->setTotalDuration(curTime);
 }

scootergrisen

  • Jr. Member
  • **
  • Posts: 54
Re: Danish translation
« Reply #16 on: January 29, 2017, 11:47:43 AM »
Can some please update this file to the latest Avidemux version so i can continue the translation.
Its currently version 2.6.15.
I want to bring it up til the latest version.

eumagga0x2a

  • Hero Member
  • *****
  • Posts: 1302
Re: Danish translation
« Reply #17 on: January 29, 2017, 04:37:42 PM »
I've regenerated all the .ts files, a local build is in progress. If nothing is apparently way too broken, I'll open a pull request. Once pulled by Mean, you and all other translators will get updated .ts files from the git master then.

scootergrisen

  • Jr. Member
  • **
  • Posts: 54
Re: Danish translation
« Reply #18 on: January 29, 2017, 09:22:30 PM »