summaryrefslogtreecommitdiff
path: root/app/bin/i18n.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:49 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2024-07-03 10:19:49 +0200
commit8dc8048d2cd4996825470bbfcb1e09e2a2630035 (patch)
tree9804282102f8c40d27407b9c94119b35eeb5013c /app/bin/i18n.h
parentc9d0740841fbe0539e42e66d3865672bfcd3ac02 (diff)
parentb6bd52cd7330a90fc0e44dbe6022551a8dd768a1 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/bin/i18n.h')
-rw-r--r--app/bin/i18n.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/app/bin/i18n.h b/app/bin/i18n.h
index f70c87d..9b53944 100644
--- a/app/bin/i18n.h
+++ b/app/bin/i18n.h
@@ -13,31 +13,31 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "xtrkcad-config.h"
#ifdef XTRKCAD_USE_GETTEXT
/* Use gettext */
- #ifndef USE_SIMPLE_GETTEXT
- #include <libintl.h>
- #endif
+#ifndef USE_SIMPLE_GETTEXT
+#include <libintl.h>
+#endif
- #include <string.h>
+#include <string.h>
- #define _(String) ((String && strlen(String) > 0) \
+#define _(String) ((String && strlen(String) > 0) \
? gettext(String) : String)
- #define p_(Context, String) ((Context && strlen(Context) > 0) \
+#define p_(Context, String) ((Context && strlen(Context) > 0) \
? pgettext(Context, String) : _(String))
- #define gettext_noop(String) String
- #define N_(String) gettext_noop(String)
+#define gettext_noop(String) String
+#define N_(String) gettext_noop(String)
#else
- /* Don't use gettext */
- #define _(String) String
- #define gettext_noop(String) String
- #define N_(String) String
+/* Don't use gettext */
+#define _(String) String
+#define gettext_noop(String) String
+#define N_(String) String
#endif /* XTRKCAD_USE_GETTEXT */
void InitGettext( void );