Official Pawn forums Forum Index
  
Russian Translation

 
Post new topic   Reply to topic    Official Pawn forums Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
timberwoof



Joined: 04 Jul 2008
Posts: 3

PostPosted: Fri Jul 04, 2008 11:40 am    Post subject: Russian Translation Reply with quote

I'm working on russian translation, it's going fine, but I can't make "spellcrit" work - pawn doesn't understand ingame string.

its listed in tooltip as
Выбор: Рейтинг критического удара (заклинания) +5.

What should I type in addon? I did
{"^Выбор: Рейтинг критического удара (заклинания) %+(%d+).$", "SpellCritRating"}, - but it doesn't work.
Back to top
View user's profileSend private message
timberwoof



Joined: 04 Jul 2008
Posts: 3

PostPosted: Sat Jul 05, 2008 1:19 am    Post subject: Reply with quote

okay, found my mistake, it should be "%" before every bracket in wow string:

{"^Выбор: Рейтинг критического удара %(заклинания%) %+(%d+).$", "SpellCritRating"}
Back to top
View user's profileSend private message
Vger
Pawn Mod Creator


Joined: 09 Jul 2007
Posts: 120
Location: Azjol-Nerub (US)

PostPosted: Mon Jul 21, 2008 12:37 am    Post subject: Reply with quote

Yep. You should put a "%" in front of every "special" character that shows up in the original Russian string. That includes the parentheses (), the plus sign +, the minus sign -, the period ., and the percent sign %. (So, if there's a percent sign in the original string, put "%%" in your pattern.)
Back to top
View user's profileSend private messageVisit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Official Pawn forums Forum Index -> Feature Requests All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum