WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > NSIS Translations > Translate FontName Plugin
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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

Attachment: fontname.nsh
This has been downloaded 508 time(s).

__________________
My NSIS Mods and Files

Last edited by Vytautas on 12-31-2003 at 02:16 AM

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 12-31-2003 01:30 AM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
deguix
Major Dude

Registered: Dec 2002
From: Everett - MA, USA

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)

__________________
My Wiki Pages

Working now on:
New projects. (language: any)

Quick Link | Report this post to a moderator | IP: Logged

deguix is offline Old Post 12-31-2003 08:37 AM
Click Here to See the Profile for deguix Click here to Send deguix a Private Message Click Here to Email deguix Find more posts by deguix Add deguix to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 12-31-2003 10:04 AM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
Yathosho
Forum King

Registered: Jan 2002
From: AT-DE

!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

__________________
Fossil 2002 III | VISBOT TV | NSIS Icons | PimpBot | Old Winamp Forums look?

Quick Link | Report this post to a moderator | IP: Logged

Yathosho is offline Old Post 12-31-2003 02:34 PM
Click Here to See the Profile for Yathosho Click here to Send Yathosho a Private Message Visit Yathosho's homepage! Find more posts by Yathosho Add Yathosho to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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

Attachment: fontname.nsh
This has been downloaded 347 time(s).

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 01-01-2004 04:09 AM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
deguix
Major Dude

Registered: Dec 2002
From: Everett - MA, USA

What problems? (I'm not testing much because of a new home computer sharing with some people...)

__________________
My Wiki Pages

Working now on:
New projects. (language: any)

Quick Link | Report this post to a moderator | IP: Logged

deguix is offline Old Post 01-02-2004 02:00 AM
Click Here to See the Profile for deguix Click here to Send deguix a Private Message Click Here to Email deguix Find more posts by deguix Add deguix to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

Not able to set a default language if a translation does not exist.

Vyutautas

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 01-02-2004 02:05 AM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Jerusalem, Israel

Hebrew:

code:
Push "âøñú ëåôï ùâåéä" Push "ùâéàú ëúåáú ÷åáõ îîåôä: %u" Push "ùâéàú ÷åáõ îîåôä: %u" Push "âåãì ÷åáõ ìà çå÷é: %u" Push "éãéú ÷åáõ ìà çå÷éú %u" Push "FontName %s plugin for NSIS"
Last string was not translated on purpose as it doesn't have any good translation in Hebrew.

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

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 01-02-2004 12:45 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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

Attachment: fontname-0.6.zip
This has been downloaded 290 time(s).

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 01-02-2004 01:17 PM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Jerusalem, Israel

The following page lists on which systems MSVCRT.dll is installed by default:

http://support.microsoft.com/defaul...;NoWebContent=1

It seems MinGW supports using CRTDLL which is supposed to be on every operation system:

http://www.xraylith.wisc.edu/~khan/...mingw32/INSTALL

__________________
NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 01-02-2004 01:37 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
deguix
Major Dude

Registered: Dec 2002
From: Everett - MA, USA

Brazilian Portuguese:

code:
StrCmp $LANGUAGE 1046 0 End-1046 ; Portuguese (Brazil) (by deguix) Push "Versão de Fonte Errada" Push "Erro de Endereço do ArquivoMapeado: %u" Push "Erro do ArquivoMapeado: %u" Push "Tamanho de arquivo inválido: %u" Push "Manuseio de arquivo inválido %u" Push "FontName %s plugin para NSIS" goto ${Index} End-1046:

__________________
My Wiki Pages

Working now on:
New projects. (language: any)

Quick Link | Report this post to a moderator | IP: Logged

deguix is offline Old Post 01-04-2004 09:11 AM
Click Here to See the Profile for deguix Click here to Send deguix a Private Message Click Here to Email deguix Find more posts by deguix Add deguix to your buddy list Edit/Delete Message Reply w/Quote
asdfuae
Junior Member

Registered: Oct 2002
From:

Arabic:

code:
StrCmp $LANGUAGE 1025 0 End-1025 ; Arabic (by asdfuae) Push "إصدار الخط خاطئ" Push "خطاء عنوان خريطةالملف: %u" Push "خطاء خريطة الملف: %u" Push "حجم الملف غيرصحيح: %u" Push "معالج الملف غير صحيح %u" Push "مقبس اسم الخط %s لنسيس" goto ${Index} End-1025:


the attachment is latest FontName.nsh with:
code:
;English (Default) - Vytautas Krivickas ;Lithuanian - Vytautas Krivickas ;German - Jan T. Sott ;Hebrew - kichik ;Portuguese (Brazil) - deguix ;Arabic - asdfuae

Attachment: fontname.nsh
This has been downloaded 313 time(s).

Quick Link | Report this post to a moderator | IP: Logged

asdfuae is offline Old Post 01-11-2004 03:16 PM
Click Here to See the Profile for asdfuae Click here to Send asdfuae a Private Message Find more posts by asdfuae Add asdfuae to your buddy list Edit/Delete Message Reply w/Quote
kiiali
Member

Registered: Oct 2002
From: Taoyuan, Taiwan (formally called Rebulic of China :-)

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>

Attachment: fontname.nsh
This has been downloaded 371 time(s).

Quick Link | Report this post to a moderator | IP: Logged

kiiali is offline Old Post 01-13-2004 04:28 PM
Click Here to See the Profile for kiiali Click here to Send kiiali a Private Message Click Here to Email kiiali Visit kiiali's homepage! Find more posts by kiiali Add kiiali to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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

Attachment: fontname-0.6.zip
This has been downloaded 317 time(s).

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 01-23-2004 01:04 PM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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

Attachment: fontname-0.6.zip
This has been downloaded 259 time(s).

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 01-24-2004 06:20 AM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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.

Attachment: fontname-0.6.zip
This has been downloaded 383 time(s).

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 01-29-2004 11:43 AM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 02-10-2004 01:19 PM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
evilO
Senior Member

Registered: Jan 2004
From: Strasbourg, Europe

Added the french translation

evilO/Olive


PS:

quote:
So thank you for everyone who has translated the plugin

Err, maybe you don't need it anymore..

Attachment: fontname.nsh
This has been downloaded 266 time(s).

__________________
Man and nations will act rationally when all other possibilities have been exhausted.

Quick Link | Report this post to a moderator | IP: Logged

evilO is offline Old Post 02-17-2004 05:27 PM
Click Here to See the Profile for evilO Click here to Send evilO a Private Message Click Here to Email evilO Find more posts by evilO Add evilO to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

Thanks evilO, updated the FontName distribution on my home page. NSIS Archive download page will be updated once kichik returns.

Vytautas

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 02-19-2004 03:20 AM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

Added Spanish Translation as PMed to me by Cecilio.

The credits for the translations now are:

PHP:

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>
French                - evilO/Olive
Spanish
(Traditional) - Cecilio


Vytautas

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 03-08-2004 10:57 AM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
deguix
Major Dude

Registered: Dec 2002
From: Everett - MA, USA

Ehhh... just fix the accents from Portuguese (Brazil) language; see my old first post, that one is the correct.

__________________
My Wiki Pages

Working now on:
New projects. (language: any)

Quick Link | Report this post to a moderator | IP: Logged

deguix is offline Old Post 03-08-2004 10:58 PM
Click Here to See the Profile for deguix Click here to Send deguix a Private Message Click Here to Email deguix Find more posts by deguix Add deguix to your buddy list Edit/Delete Message Reply w/Quote
Vytautas
Major Dude

Registered: May 2003
From: Victoria, Australia

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

__________________
My NSIS Mods and Files

Quick Link | Report this post to a moderator | IP: Logged

Vytautas is offline Old Post 03-09-2004 12:48 PM
Click Here to See the Profile for Vytautas Click here to Send Vytautas a Private Message Click Here to Email Vytautas Visit Vytautas's homepage! Find more posts by Vytautas Add Vytautas to your buddy list Edit/Delete Message Reply w/Quote
hooklee
Junior Member

Registered: Apr 2005
From: China

http://vytautas.mine.nu/nsis.php is not available. Could you please check it? Thanks.

Quick Link | Report this post to a moderator | IP: Logged

hooklee is offline Old Post 04-28-2005 04:26 PM
Click Here to See the Profile for hooklee Click here to Send hooklee a Private Message Find more posts by hooklee Add hooklee to your buddy list Edit/Delete Message Reply w/Quote
wingman2083
Junior Member

Registered: Jan 2003
From: Veles, Macedonia

Macedonian translation

I add macedonian translation too.

Attachment: fontname.nsh
This has been downloaded 373 time(s).

Quick Link | Report this post to a moderator | IP: Logged

wingman2083 is offline Old Post 05-19-2005 09:29 AM
Click Here to See the Profile for wingman2083 Click here to Send wingman2083 a Private Message Find more posts by wingman2083 Add wingman2083 to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 09:41 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > NSIS Translations > Translate FontName Plugin
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON