mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Trying to switch to Qt translation
This compiles and looks about right, but it doesn't appear to work, yet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2c4ccc04bd
commit
4d3e74a236
24 changed files with 272 additions and 294 deletions
18
equipment.c
18
equipment.c
|
@ -12,12 +12,8 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <time.h>
|
||||
#if 0
|
||||
#include <glib/gi18n.h>
|
||||
#else /* stupid */
|
||||
#define _(arg) arg
|
||||
#define N_(arg) arg
|
||||
#endif
|
||||
#include "gettext.h"
|
||||
#define QT_TR_NOOP(arg) arg
|
||||
#include "dive.h"
|
||||
#include "display.h"
|
||||
#if USE_GTK_UI
|
||||
|
@ -933,11 +929,11 @@ bad_tank_info:
|
|||
* This is a bit odd as the weight system types don't usually encode weight
|
||||
*/
|
||||
struct ws_info_t ws_info[100] = {
|
||||
{ N_("integrated"), 0 },
|
||||
{ N_("belt"), 0 },
|
||||
{ N_("ankle"), 0 },
|
||||
{ N_("backplate weight"), 0 },
|
||||
{ N_("clip-on"), 0 },
|
||||
{ QT_TR_NOOP("integrated"), 0 },
|
||||
{ QT_TR_NOOP("belt"), 0 },
|
||||
{ QT_TR_NOOP("ankle"), 0 },
|
||||
{ QT_TR_NOOP("backplate weight"), 0 },
|
||||
{ QT_TR_NOOP("clip-on"), 0 },
|
||||
};
|
||||
|
||||
#if USE_GTK_UI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue