-#ifndef I18N_H
-#define I18N_H
+#pragma once
#include "log.qh"
-#include "map.qc"
+#include "map.qh"
#include "unsafe.qh"
// translation helpers
int p = strstrofs(s, "^", 0);
string ret = (p < 0) ? s : substring(s, p + 1, -1);
#if CTX_CACHE
- LOG_DEBUGF("CTX(\"%s\")\n", s);
+ LOG_DEBUGF("CTX(\"%s\")", s);
HM_sets(CTX_cache, s, ret);
#endif
return ret;
}
#define ZCTX(s) strzone(CTX(s))
-
-#endif