- 0
what is the difference between _("<string>") and _$("<string>")
Asked by
AnnieRuru,
-
Recently Browsing 0 members
No registered users viewing this page.
-
Who's Online 2 Members, 0 Anonymous, 15 Guests (See full list)
-
Members
- Daifuku
- Michiruhanasato
- Shinsei
- smiths12
- Virtue
- dimas157
- Astronom
- Kurosuke
- Functor
- Khazou
- christofereduardo
- kentky
- Happy
- nostal00
- fTakano
- Kambroz
- Masao
- Angela
- Slammer
- AnnieRuru
- Nihad
- angelic
- dh3x
- Hyndrak
- Kerzweg
- Cretino
- Paroxysm
- Phoe
- 15peaces
- Residential
- Promeister
- 4144
- lllaaazzz
- Fizik
- aszrool
- brunosc
- jcurol4
- Zhao Chow
- izuchi
- razmux
- darkchase
- nesty09
- Caspian
- chlas
- lukyrys
- Vader
- luan122
- Gordis
- syphon
- Darkmania2
- utofaery
- Juan Meissner
- kyeme
- Prourhildr
- JohnnyPlayy
- Dream Catcher
- WhiteEagle
- Lullaby
- vykimo
- kenik
- sprdosat
- Ai4rei
- Habilis
- botka4aet
- CarlosHenrq
- Dover
- Bruno Nogueira
- rugratz99
- Hytech
- Greybull
- Rytech
- Smoke
- xVec
- attackjom555
- madwof
- hexic01
- RagnarokOnline2015
- M45T3R
- rongmauhong
- M4karov
- Syncarpium
- alisonrag
- alkhaleej
- maken06
- gusjungsza
- nyalin
- chaosclate
- MafiusBR
- refis
- staystrong26tw
- Spal2Co
- Dastgir
- Kiyoshi Visser
- Emistry
- Cainho
- hendra814
- keitenai
- aetech
- Myriad
- MadaraO
Posted
What is the difference between _("<string>") and _$("<string>") meant for HULD
I found a few clues in script.c
so its script->buildin_lang_macro_offset and script->buildin_lang_macro_fmtstring_offset
next, in generate-translations.c
now this make sense, _("<string>") is somehow group together with mes and select
_$("<string>") is somehow group together with mesf
so this is my guess ...
_("<string>") is for those without %d %s ...
_$("<string>") is for those with %d %s ... like sprintf ... right ?
so ... my next question is ... there are 3 types
<none>
c format
no c format
generate the file as
what are those actually means then ?
if translate by hand, it probably doesn't mean anything ...
line 187 in generate-translations.c
@Haru @Dastgir
Share this post
Link to post
Share on other sites