I have updated and changed quite a few things regarding the Swedish translation. There will be additional changes coming later.
https://github.com/vim/vim/pull/18849
(7 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@yeager pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@chrisbra commented on this pull request.
Thanks, I believe this must have been quite some effort.
But let me just make sure:
Was this machine translated?
Did you run make check inside src/po ?
Did creating the Vim Installer work?
fyi @johans
And I noticed one more thing:
> +
+!insertmacro MUI_LANGUAGE "Swedish"
+
+
+# Skriv över standardöversättningen.
+# Dessa strängar ska alltid vara på engelska. Annars misslyckas dosinst.c.
+LangString ^SetupCaption ${LANG_SWEDISH} \
+ "$(^Name) Setup"
+LangString ^UninstallCaption ${LANG_SWEDISH} \
+ "$(^Name) Uninstall"
+
+##############################################################################
+# Licensfil för licenssidan {{{1
+##############################################################################
+
+LicenseLangString page_lic_file ${LANG_SWEDISH} "..\lang\LICENSE.nsis.txt"
I think this line should be:
⬇️ Suggested change-LicenseLangString page_lic_file ${LANG_SWEDISH} "..\lang\LICENSE.nsis.txt"
+LicenseLangString page_lic_file ${LANG_SWEDISH} "..\lang\LICENSE.sv.nsis.txt"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Hi there Christian and thank you for helping me navigate this :)
I have spent a few days trying to understand the build system and figured out almost how it works.
No untranslated strings, solved that with "msgattrib --translated xx"
For the manual pages, I used "po4a" to convert to PO and then DeepL Pro to pre-translate the strings. Then spent quite some time to review the output (never exactly correct due to contextual issues).
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
What about the help.txt? Not sure where to find it or how to commit a translation for it.
It seems that the translation of help.txt doesn't distribute with vim itself. You can serve it as a plugin and publish it by yourself.
What's more, according to :help help-translated. help.sv.txt should be correct as help.svx.
You can read that section to find more information. Here is some parts of it.
2. Translated help files *help-translated* It is possible to add translated help files, next to the original English help files. Vim will search for all help in "doc" directories in 'runtimepath'. This is only available when compiled with the |+multi_lang| feature. At this moment translations are available for: Chinese - multiple authors French - translated by David Blanchet Italian - translated by Antonio Colombo Japanese - multiple authors Polish - translated by Mikolaj Machowski Russian - translated by Vassily Ragosin See the Vim website to find them: http://www.vim.org/translations.php A set of translated help files consists of these files: help.abx howto.abx ... tags-ab
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
let me know once this is ready. Thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Hey guys. Thank you for your patience. I'm still working on the final bits of the tutor1/2 and the help page. Need a week at least.
Still trying to figure out how the help page in Swedish will be loaded by default (doc/help.svx).
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Windows build does not work but I can't see that it is due to me
gui_beval.c
gui_w32.c
netbeans.c
job.c
channel.c
cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DHAVE_STDINT_H -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP /we4267 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 /source-charset:utf-8 /MP /Ox /GL -DNDEBUG /Zl /MT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_ /Fd.\ObjGXAMD64/ /Zi /Fo.\ObjGXAMD64/ xdiff\xdiffi.c xdiff\xemit.c xdiff\xprepare.c xdiff\xutils.c xdiff\xhistogram.c xdiff\xpatience.c
xdiffi.c
xemit.c
xprepare.c
xutils.c
xhistogram.c
xpatience.c
cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DHAVE_STDINT_H -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP /we4267 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 /source-charset:utf-8 /MP /Ox /GL -DNDEBUG /Zl /MT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_ /Fd.\ObjGXAMD64/ /Zi /Fo.\ObjGXAMD64/ gui_dwrite.cpp
gui_dwrite.cpp
cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DHAVE_STDINT_H -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP /we4267 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 /source-charset:utf-8 /MP /Ox /GL -DNDEBUG /Zl /MT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_ /Fd.\ObjGXAMD64/ /Zi /Fo.\ObjGXAMD64/ version.c
version.c
link @C:\Users\windo\AppData\Local\Temp\nm4DBA.tmp
Generating code
C:\Users\windo\Downloads\vim\src\gui_w32.c(6699) : fatal error C1001: Internal compiler error.
(compiler file 'D:\a_work\1\s\src\vctools\Compiler\Utc\src\p2\main.cpp', line 258)
To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
/ 36% 1 second remaining
/NMAKE : fatal error U1077: 'link @C:\Users\windo\AppData\Local\Temp\nm4DBA.tmp' : return code '0xc0000005'
Stop.
The system cannot execute the specified program.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Guys, I think I am done now. Still not sure how to enable the Swedish help text as default
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Thanks, can you please squash into a single commit and rebase?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I'm a bit unsure how to do this. Are you allowing squashed on merge in Github?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
I don't use the big green button on github, but typically pull the changes via a separate branch and cherry-pick it into master. But don't worry to much, I can just download the plain diff and apply it manually
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()