|
|
#1 |
|
Major Dude
|
Translate FontName Plugin
I'm working on a translation of the FontName Plugin. This is a work in progress but if anyone could translate the strings into your language it would be greatly appreciated.
NOTE: This include file will not work with the current version of FontName plugin. It needs version 0.6 which will be released as soon as I can test the translation code fully and figgure out how to remove the dependancy to MSVCRT.DLL. Vytautas
Last edited by Vytautas; 31st December 2003 at 01:16. |
|
|
|
|
|
#2 |
|
Major Dude
|
Don't forget to put an example "how to use" with the package, and to the .zip file be ready to extract in the NSIS dir. (as other plugins in the Archive should be)
|
|
|
|
|
|
#3 |
|
Major Dude
|
Yes, when I have a fully operational version I will indeed do that, thanks. And a question is there a way to specify a default LandString, I thought that the language_id of 0 did that, but it appears to have a different function.
Vytautas |
|
|
|
|
|
#4 |
|
Forum King
|
!define FontName_LANG "1031" #German (by Jan T. Sott)
LangString FontName_FONTVERSION ${FontName_LANG} "Falsche Fontversion" LangString FontName_MAPADDRESS ${FontName_LANG} "MappedFile Addressfehler: %u" LangString FontName_MAPCREATE ${FontName_LANG} "MappedFile Fehler: %u" LangString FontName_FILESIZE ${FontName_LANG} "Ungültige Dateigrösse: %u" LangString FontName_FILEHANDLE ${FontName_LANG} "Ungültiges Dateihandle %u" LangString FontName_VERSIONINFO ${FontName_LANG} "FontName %s Plugin für NSIS" !undef FontName_LANG Winamp: Fossil 2002 III | My AVS Presets | visboTVisbot | PimpBot | How to setup AVS? NSIS: Sublime Text Packages | NSIS-Linker.user.js | highlight.js | Icons & Graphics | Twitter |
|
|
|
|
|
#5 |
|
Major Dude
|
Thank you killahbite for your translation.
Here is an updated file with the german translation and a modified language system due to problems with LangString. Vytautas
|
|
|
|
|
|
#6 |
|
Major Dude
|
What problems? (I'm not testing much because of a new home computer sharing with some people...)
|
|
|
|
|
|
#7 |
|
Major Dude
|
Not able to set a default language if a translation does not exist.
Vyutautas
|
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Hebrew:
Last string was not translated on purpose as it doesn't have any good translation in Hebrew.code: BTW, you're jumping to Index instead of ${Index} in the macros. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#9 |
|
Major Dude
|
kichik thanks for the translation and spotting the Index mixup. Since I'm about to go on holidays for a couple of weeks, away from my PC
, I'm attaching a test version of the plugin, see readme for instructions. Alas it still depends on MSVCRT.dll, I'm still working on that part.BTW. kichik you mentioned that not all versions of windows contain MSVCRT, where do I find the info of which files are included in which version of windows? Vytautas
|
|
|
|
|
|
#10 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
The following page lists on which systems MSVCRT.dll is installed by default:
http://support.microsoft.com/default...NoWebContent=1 It seems MinGW supports using CRTDLL which is supposed to be on every operation system: http://www.xraylith.wisc.edu/~khan/s...ingw32/INSTALL NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#11 |
|
Major Dude
|
Brazilian Portuguese:
code: |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Oct 2002
Posts: 23
|
Arabic:
code: the attachment is latest FontName.nsh with: code: |
|
|
|
|
|
#13 |
|
Member
|
updated with
Chinese (Traditional) Chinese (Simplified) now the credit here: ;Translated To - Translated By ;---------------------------------------------------------- ;English (Default) - Vytautas Krivickas ;Lithuanian - Vytautas Krivickas ;German - Jan T. Sott ;Hebrew - kichik ;Portuguese (Brazil) - deguix ;Arabic - asdfuae ;Chinese (Traditional) - Kii Ali <kiiali@cpatch.org> ;Chinese (Simplified) - Kii Ali <kiiali@cpatch.org> |
|
|
|
|
|
#14 |
|
Major Dude
|
I finally gave up on trying to get rig of MSVCRT dependancy from Dev-CPP compiler and switched to DigitalMars and within 30 minutes I had the plugin finished. So thank you for everyone who has translated the plugin and I'm attaching the FontName Plugin zip file.
You can also download the automated setup file from here. Vytautas
|
|
|
|
|
|
#15 |
|
Major Dude
|
Updated to a, hopefully, more efficient code. No more StrCpy functions inside the dll, replaced with memcpy. A problem when you develop the same plugin from two locations and the code is not always up to date.
Vytautas
|
|
|
|
|
|
#16 |
|
Major Dude
|
Oops, forgot to include the source code in the zip file.
The dll compiled by DigitalMars C++ compiler with the followinf command line: "dmc -WD fontname.c -w kernel32.lib" Vytautas PS. My NSIS Archive page for this plugin contains a link to an executable installer for this plugin which automatically install all appropriate files in the right locations. |
|
|
|
|
|
#17 |
|
Major Dude
|
Another slight update, for links see the archive page, this time the main change was a significant reduction in the file size of the plugin.
I achieved this by changing the compiler to lcc-win32. The only source code modifications were there to allow lcc to compile without errors and warnings. A problem I have found quite often when changing compilers, they never compile the same source in the same way. Vytautas |
|
|
|
|
|
#18 | |
|
Senior Member
Join Date: Jan 2004
Location: Strasbourg, Europe
Posts: 117
|
Added the french translation
![]() evilO/Olive PS: Quote:
|
|
|
|
|
|
|
#19 |
|
Major Dude
|
Thanks evilO, updated the FontName distribution on my home page. NSIS Archive download page will be updated once kichik returns.
Vytautas |
|
|
|
|
|
#20 |
|
Major Dude
|
Added Spanish Translation as PMed to me by Cecilio.
The credits for the translations now are: PHP Code:
|
|
|
|
|
|
#21 |
|
Major Dude
|
Ehhh... just fix the accents from Portuguese (Brazil) language; see my old first post, that one is the correct.
|
|
|
|
|
|
#22 |
|
Major Dude
|
Sorry about that, not sure when/how that got corrupted. This header file has gone through several editors here so one of the probably did the damage.
All fixed up now, I hope Vytautas |
|
|
|
|
|
#23 |
|
Junior Member
Join Date: Apr 2005
Location: China
Posts: 30
|
http://vytautas.mine.nu/nsis.php is not available. Could you please check it? Thanks.
|
|
|
|
|
|
#24 |
|
Junior Member
Join Date: Jan 2003
Location: Veles, Macedonia
Posts: 13
|
Macedonian translation
I add macedonian translation too.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|