nehtik / epgp

Automatically exported from code.google.com/p/epgp
0 stars 0 forks source link

Function in Russian localisation does not work #437

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Function epgp standby <name> in Russian localisation does not work, the 
first letter in a name of the character is cut off but if to correct in a 
file whisper.lua it is

  local member = msg:match("epgp standby ([^ ]+)")
  if member then
    member = member:sub(1,1):upper()..member:sub(2):lower()
  else
    member = sender
  end

on it

  local member = msg:match("epgp standby ([^%s]+)")
  if member then
    if (GetLocale() == "ruRU") then 
      member = member
    else 
      member = member:sub(1,1):upper()..member:sub(2):lower() 
    end
  else
    member = sender
  end

that all works

Original issue reported on code.google.com by ad...@wow-triada.org.ru on 11 Jun 2009 at 4:50

GoogleCodeExporter commented 8 years ago

Original comment by evlogimenos on 11 Jun 2009 at 6:11

GoogleCodeExporter commented 8 years ago
This is fixed in r1270.

Original comment by troeks@gmail.com on 29 Jul 2009 at 10:21

GoogleCodeExporter commented 8 years ago
Awesomesauce. Thanks!

Original comment by evlogimenos on 29 Jul 2009 at 11:25