mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-25 21:27:19 +02:00
L10N
- Added '#define L10N' marker to all source files that are localized.
This commit is contained in:
parent
d51bd3f445
commit
f67706c28e
76 changed files with 124 additions and 8 deletions
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDCUSTOM
|
||||
#define INCLUDED_CMDCUSTOM
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDEXEC
|
||||
#define INCLUDED_CMDEXEC
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDHELP
|
||||
#define INCLUDED_CMDHELP
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDINSTALL
|
||||
#define INCLUDED_CMDINSTALL
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDLOGO
|
||||
#define INCLUDED_CMDLOGO
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
#include <ViewText.h>
|
||||
#include <CmdShow.h>
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
extern Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -147,8 +149,8 @@ int CmdShow::execute (const std::string& command_line, std::string& output)
|
|||
// Create output view.
|
||||
ViewText view;
|
||||
view.width (width);
|
||||
view.add (Column::factory ("string", "Config variable"));
|
||||
view.add (Column::factory ("string", "Value"));
|
||||
view.add (Column::factory ("string", STRING_CMD_SHOW_CONF_VAR));
|
||||
view.add (Column::factory ("string", STRING_CMD_SHOW_CONF_VALUE));
|
||||
|
||||
Color error ("bold white on red");
|
||||
Color warning ("black on yellow");
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDSHOW
|
||||
#define INCLUDED_CMDSHOW
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDTAGS
|
||||
#define INCLUDED_CMDTAGS
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDTIP
|
||||
#define INCLUDED_CMDTIP
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMDVERSION
|
||||
#define INCLUDED_CMDVERSION
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Command.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COMMAND
|
||||
#define INCLUDED_COMMAND
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue