mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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
|
@ -1,4 +1,5 @@
|
|||
/* cmake.h.in. Creates auto.h during a cmake run */
|
||||
#define L10N // Localization complete.
|
||||
|
||||
/* Package information */
|
||||
#define PACKAGE "${PACKAGE}"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* commit.h.in. Creates commit.h during a cmake run */
|
||||
#define L10N // Localization complete.
|
||||
|
||||
/* git information */
|
||||
#define COMMIT "${COMMIT}"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_API
|
||||
#define INCLUDED_API
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include "../cmake.h"
|
||||
#ifdef HAVE_LIBLUA
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_ARGUMENTS
|
||||
#define INCLUDED_ARGUMENTS
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_ATT
|
||||
#define INCLUDED_ATT
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CMD
|
||||
#define INCLUDED_CMD
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLOR
|
||||
#define INCLUDED_COLOR
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CONFIG
|
||||
#define INCLUDED_CONFIG
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_CONTEXT
|
||||
#define INCLUDED_CONTEXT
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <Command.h>
|
||||
#include <Column.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_DOM
|
||||
#define INCLUDED_DOM
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_DATE
|
||||
#define INCLUDED_DATE
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
|
|
@ -26,8 +26,9 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_DIRECTORY
|
||||
#define INCLUDED_DIRECTORY
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include "File.h"
|
||||
#include <File.h>
|
||||
|
||||
class Directory : public File
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_DURATION
|
||||
#define INCLUDED_DURATION
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#ifndef INCLUDED_FILE
|
||||
#define INCLUDED_FILE
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_FILTER
|
||||
#define INCLUDED_FILTER
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include "Att.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_HOOKS
|
||||
#define INCLUDED_HOOKS
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#ifndef INCLUDED_JSON
|
||||
#define INCLUDED_JSON
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_LOCATION
|
||||
#define INCLUDED_LOCATION
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_NIBBLER
|
||||
#define INCLUDED_NIBBLER
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_PATH
|
||||
#define INCLUDED_PATH
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_PERMISSION
|
||||
#define INCLUDED_PERMISSION
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include "Task.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_RECORD
|
||||
#define INCLUDED_RECORD
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_SEQUENCE
|
||||
#define INCLUDED_SEQUENCE
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_SUBST
|
||||
#define INCLUDED_SUBST
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include "Att.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TDB
|
||||
#define INCLUDED_TDB
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TDB2
|
||||
#define INCLUDED_TDB2
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TASK
|
||||
#define INCLUDED_TASK
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include "Record.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TASKMOD
|
||||
#define INCLUDED_TASKMOD
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Task.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TIMER
|
||||
#define INCLUDED_TIMER
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <sys/time.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TRANSPORT
|
||||
#define INCLUDED_TRANSPORT
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TRANSPORTCURL
|
||||
#define INCLUDED_TRANSPORTCURL
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Transport.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TRANSPORTRSYNC
|
||||
#define INCLUDED_TRANSPORTRSYNC
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Transport.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TRANSPORTSSH
|
||||
#define INCLUDED_TRANSPORTSSH
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <Transport.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_URI
|
||||
#define INCLUDED_URI
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_VARIANT
|
||||
#define INCLUDED_VARIANT
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <time.h>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_VIEWTASK
|
||||
#define INCLUDED_VIEWTASK
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_VIEWTEXT
|
||||
#define INCLUDED_VIEWTEXT
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLDATE
|
||||
#define INCLUDED_COLDATE
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLDEPENDS
|
||||
#define INCLUDED_COLDEPENDS
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLDESCRIPTION
|
||||
#define INCLUDED_COLDESCRIPTION
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLDUE
|
||||
#define INCLUDED_COLDUE
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <ColDate.h>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLEND
|
||||
#define INCLUDED_COLEND
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <ColDate.h>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLENTRY
|
||||
#define INCLUDED_COLENTRY
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <ColDate.h>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLID
|
||||
#define INCLUDED_COLID
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLPRIORITY
|
||||
#define INCLUDED_COLPRIORITY
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLPROJECT
|
||||
#define INCLUDED_COLPROJECT
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLRECUR
|
||||
#define INCLUDED_COLRECUR
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLSTART
|
||||
#define INCLUDED_COLSTART
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <ColDate.h>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLSTATUS
|
||||
#define INCLUDED_COLSTATUS
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLSTRING
|
||||
#define INCLUDED_COLSTRING
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLTAGS
|
||||
#define INCLUDED_COLTAGS
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLUUID
|
||||
#define INCLUDED_COLUUID
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLUNTIL
|
||||
#define INCLUDED_COLUNTIL
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <ColDate.h>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLURGENCY
|
||||
#define INCLUDED_COLURGENCY
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLWAIT
|
||||
#define INCLUDED_COLWAIT
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <ColDate.h>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_COLUMN
|
||||
#define INCLUDED_COLUMN
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
|
|
@ -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>
|
||||
|
|
47
src/en-US.h
47
src/en-US.h
|
@ -41,15 +41,50 @@
|
|||
//
|
||||
// Rules:
|
||||
// - Localized strings should contain leading or trailing white space,
|
||||
// including \n
|
||||
// -
|
||||
// including \n, thus allowing the code to compose strings.
|
||||
// - Retain the tense of the original string.
|
||||
// - Retain the same verbosiy of the original string.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef INCLUDED_EN_US
|
||||
#define INCLUDED_EN_US
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Translators:
|
||||
// 1. Copy this file (en-US.h) to a new file with the target locale as the
|
||||
// file name. Using German as an example, do this:
|
||||
//
|
||||
// cp en-US.h de-DE.h
|
||||
//
|
||||
// 2. Modify all the strings below.
|
||||
// i.e. change "Unknown error." to "Unbekannter Fehler.".
|
||||
//
|
||||
// 3. Add your new translation to the task.git/src/i18n.h file by changing:
|
||||
//
|
||||
// #if PACKAGE_LANGUAGE == LANGUAGE_EN_US
|
||||
// #include <en-US.h>
|
||||
// #endif
|
||||
//
|
||||
// to:
|
||||
//
|
||||
// #if PACKAGE_LANGUAGE == LANGUAGE_EN_US
|
||||
// #include <en-US.h>
|
||||
// #elif PACKAGE_LANGUAGE == LANGUAGE_DE_DE
|
||||
// #include <de-DE.h>
|
||||
// #endif
|
||||
//
|
||||
// 4. Build your localized Taskwarrior with these commands:
|
||||
//
|
||||
// cd task.git
|
||||
// cmake -D PACKAGE_LANGUAGE=LANGUAGE_DE_DE .
|
||||
// make
|
||||
//
|
||||
// 5. Submit your translation to support@taskwarrior.org, for inclusion in
|
||||
// next release.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// To localize, clone and rename this file, then change all the defines below.
|
||||
#ifndef INCLUDED_STRINGS
|
||||
#define INCLUDED_STRINGS
|
||||
|
||||
// Errors
|
||||
#define STRING_UNKNOWN_ERROR "Unknown error."
|
||||
|
@ -70,6 +105,8 @@
|
|||
#define STRING_CMD_SHOW_CONFIG_ERROR "Configuration error: {1} contains an unrecognized value '{2}'."
|
||||
#define STRING_CMD_SHOW_NO_LOCATION "Configuration error: data.location not specified in .taskrc file."
|
||||
#define STRING_CMD_SHOW_LOC_EXIST "Configuration error: data.location contains a directory name that doesn't exist, or is unreadable."
|
||||
#define STRING_CMD_SHOW_CONF_VAR "Config Variable"
|
||||
#define STRING_CMD_SHOW_CONF_VALUE "Value"
|
||||
|
||||
// DOM
|
||||
#define STRING_DOM_UNKNOWN "<unknown>"
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
#ifndef INCLUDED_I18N
|
||||
#define INCLUDED_I18N
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include "../cmake.h"
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_MAIN
|
||||
#define INCLUDED_MAIN
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#define FEATURE_NEW_ID 1 // Echoes back new id.
|
||||
//#define FEATURE_REGEX 1 // Enables regexes for attribute modifiers,
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
#include "util.h"
|
||||
#include "main.h"
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
extern Context context;
|
||||
|
||||
static std::map <std::string, Color> gsColor;
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
#include <regex.h>
|
||||
#include "rx.h"
|
||||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
//#define _POSIX_C_SOURCE 1
|
||||
#define MAX_MATCHES 8
|
||||
|
||||
|
|
1
src/rx.h
1
src/rx.h
|
@ -27,6 +27,7 @@
|
|||
|
||||
#ifndef INCLUDED_RX
|
||||
#define INCLuDED_RX
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_TEXT
|
||||
#define INCLUDED_TEXT
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_UTF8
|
||||
#define INCLUDED_UTF8
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef INCLUDED_UTIL
|
||||
#define INCLUDED_UTIL
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -42,6 +43,7 @@
|
|||
#define max(a,b) ((a) > (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
// TODO Obsolete.
|
||||
#define foreach(i, c) \
|
||||
for (typeof (c) *foreach_p = & (c); \
|
||||
foreach_p; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue