Historial de Commits

Autor SHA1 Mensaje Fecha
  Ingo Ruhnke 43245bbe1b Put file local functions into anonymous namespace hace 5 años
  Ingo Ruhnke 328f015d0b Merge pull request #14 from leper/collision_logging hace 8 años
  leper 7d848c9d94 Log collisions for plural translations without context. hace 8 años
  leper 1ec441370f Make collision logging for plurals actually list all values. hace 8 años
  leper 91f6e18239 Only log collisions if they actually occured. hace 8 años
  leper 5df4ae3ecf Only build reference after verifying it is valid. hace 8 años
  leper 9217df09e6 Mark some functions as const. hace 8 años
  Ingo Ruhnke 0e4adde0b6 Replaced GPL2+ with zlib license hace 9 años
  leper cbda8cacd5 Only warn about actual collisions. hace 9 años
  Ingo Ruhnke f71a8e5e84 Trimmed trailing whitespace and removed page break characters hace 9 años
  Ingo Ruhnke 4601f5c111 Added Dictionary::addFallback(Dictionary* fallback) hace 9 años
  Ingo Ruhnke f1427ca388 Merge pull request #2 from leper/master hace 9 años
  Ingo Ruhnke 2cf95f054b Removed trailing whitespace hace 9 años
  leper 0dc17192d2 Handle missing plural forms gracefully. hace 9 años
  Ingo Ruhnke ae5dcfaf35 Changed the directory structure to be more include friendly and more resilient to naming conflicts hace 10 años
  Mathnerd314 4c96834281 * CMake building works; just make sure it finds iconv hace 15 años
  Ingo Ruhnke 32e371d3ff Made the code '-ansi', '-pedantic', '-Wall', '-Werror', '-Wnon-virtual-dtor', '-Weffc++' clean hace 15 años
  Ingo Ruhnke 99f69612fe Turned PluralForms into a class, some better error checking for Plural-Forms hace 15 años
  Ingo Ruhnke 968a3490dc Moved Language out of Dictionary and replaced it by Plural-Forms hace 15 años
  Ingo Ruhnke 1faa124e60 Removed ability to create Dictionary without giving a Language, since we need a language to resolv plural forms. Merged singular and plural forms into a single list in Dictionary to behave more like gettext. Replaced std::map with std::vector to lookup plural forms. hace 15 años
  Ingo Ruhnke 908c4f8dc1 Added handling of message context, found issue with plural forms while doing so hace 15 años
  Ingo Ruhnke dfda466957 Some work on msgctxt, just API, no implementation hace 15 años
  Ingo Ruhnke bbf1bba4cc Renamed plural version of translate to translate_plural, added translate_ctx() and translate_ctx_plural(), just placeholder implementations hace 15 años
  Ingo Ruhnke 3dfa7260e1 Added lightwight wrapper class around LanguageDef hace 15 años
  Ingo Ruhnke 3a1d43a5fa Renamed convert to iconv_convert, removed Dictionary::set_charset and ::set_language, now handled via constructor hace 15 años
  Ingo Ruhnke 44ea04b99a Added short description to header comment hace 15 años
  Ingo Ruhnke db97ee5d52 Use Language typedef instead of std::string to hold language hace 15 años
  Ingo Ruhnke 1b6481c9ac Branched of and quickly hacked together a version that compiles outside of SuperTux hace 15 años