[Half-Life AMXX] / include / lang.inc Repository:
ViewVC logotype

Diff of /include/lang.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 16, Fri Nov 16 15:12:40 2007 UTC revision 17, Fri Nov 16 15:29:57 2007 UTC
# Line 45  Line 45 
45   * Adds a translation.   * Adds a translation.
46   */   */
47  native AddTranslation(const lang[3], TransKey:key, const phrase[]);  native AddTranslation(const lang[3], TransKey:key, const phrase[]);
48    
49    /**
50     * Looks up the translation of the key for the given type
51     * This does NOT format the output text.
52     * eg: If the key includes %s, the outputted text will also contain %s.
53     * NOTE: LANG_PLAYER is invalid in this, use a player index
54     *       or LANG_SERVER
55     */
56    native LookupLangKey(Output[], OutputSize, const Key[], const &id);

Legend:
Removed from v.16  
changed lines
  Added in v.17

Contact
ViewVC Help
Powered by ViewVC 1.0.4