News:

--

Main Menu

Danish translation

Started by scootergrisen, January 22, 2016, 03:06:09 PM

Previous topic - Next topic

eumagga0x2a

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

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.

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

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

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.