2012-04-16 02:03:28 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2012, Haiku, Inc.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2012-08-16 23:10:53 +04:00
|
|
|
#ifndef _TOOLS_COLLECTING_CATALOG_H_
|
|
|
|
#define _TOOLS_COLLECTING_CATALOG_H_
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
|
|
|
|
// Translation macros used when executing collectcatkeys
|
|
|
|
#undef B_TRANSLATE
|
|
|
|
#define B_TRANSLATE(string) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_CONTEXT)
|
2012-04-16 02:03:28 +04:00
|
|
|
|
2012-04-16 23:31:22 +04:00
|
|
|
#undef B_TRANSLATE_CONTEXT
|
|
|
|
#define B_TRANSLATE_CONTEXT(string, context) \
|
2012-04-16 02:03:28 +04:00
|
|
|
B_CATKEY((string), (context))
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_COMMENT
|
|
|
|
#define B_TRANSLATE_COMMENT(string, comment) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_CONTEXT, (comment))
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
#undef B_TRANSLATE_ALL
|
|
|
|
#define B_TRANSLATE_ALL(string, context, comment) \
|
|
|
|
B_CATKEY((string), (context), (comment))
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_ID
|
|
|
|
#define B_TRANSLATE_ID(id) \
|
|
|
|
B_CATKEY((id))
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_SYSTEM_NAME
|
|
|
|
#define B_TRANSLATE_SYSTEM_NAME(string) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_SYSTEM_NAME_CONTEXT)
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK
|
|
|
|
#define B_TRANSLATE_MARK(string) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_CONTEXT)
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_COMMENT
|
|
|
|
#define B_TRANSLATE_MARK_COMMENT(string, comment) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_CONTEXT, (comment))
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_ALL
|
|
|
|
#define B_TRANSLATE_MARK_ALL(string, context, comment) \
|
|
|
|
B_CATKEY((string), (context), (comment))
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_ID
|
|
|
|
#define B_TRANSLATE_MARK_ID(id) \
|
|
|
|
B_CATKEY((id))
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_SYSTEM_NAME
|
|
|
|
#define B_TRANSLATE_MARK_SYSTEM_NAME(string) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_SYSTEM_NAME_CONTEXT, "")
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_VOID
|
|
|
|
#define B_TRANSLATE_MARK_VOID(string) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_CONTEXT)
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_COMMENT_VOID
|
|
|
|
#define B_TRANSLATE_MARK_COMMENT_VOID(string, comment) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_CONTEXT, (comment))
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_ALL_VOID
|
|
|
|
#define B_TRANSLATE_MARK_ALL_VOID(string, context, comment) \
|
|
|
|
B_CATKEY((string), (context), (comment))
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_ID_VOID
|
|
|
|
#define B_TRANSLATE_MARK_ID_VOID(id) \
|
|
|
|
B_CATKEY((id))
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_MARK_SYSTEM_NAME_VOID
|
|
|
|
#define B_TRANSLATE_MARK_SYSTEM_NAME_VOID(string) \
|
2012-04-16 23:31:22 +04:00
|
|
|
B_CATKEY((string), B_TRANSLATION_SYSTEM_NAME_CONTEXT, "")
|
2012-04-16 02:03:28 +04:00
|
|
|
|
|
|
|
#undef B_TRANSLATE_NOCOLLECT
|
|
|
|
#define B_TRANSLATE_NOCOLLECT(string)
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_NOCOLLECT_COMMENT
|
|
|
|
#define B_TRANSLATE_NOCOLLECT_COMMENT(string, comment)
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_NOCOLLECT_ALL
|
|
|
|
#define B_TRANSLATE_NOCOLLECT_ALL(string, context, comment)
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_NOCOLLECT_ID
|
|
|
|
#define B_TRANSLATE_NOCOLLECT_ID(id)
|
|
|
|
|
|
|
|
#undef B_TRANSLATE_NOCOLLECT_SYSTEM_NAME
|
|
|
|
#define B_TRANSLATE_NOCOLLECT_SYSTEM_NAME(string)
|
|
|
|
|
|
|
|
|
2012-04-16 23:31:22 +04:00
|
|
|
#endif /* _COLLECTING_CATALOG_H_ */
|