- Added '#define L10N' marker to all source files that are localized.
This commit is contained in:
Paul Beckingham 2011-05-27 23:59:09 -04:00
parent d51bd3f445
commit f67706c28e
76 changed files with 124 additions and 8 deletions

View file

@ -1,4 +1,5 @@
/* cmake.h.in. Creates auto.h during a cmake run */ /* cmake.h.in. Creates auto.h during a cmake run */
#define L10N // Localization complete.
/* Package information */ /* Package information */
#define PACKAGE "${PACKAGE}" #define PACKAGE "${PACKAGE}"

View file

@ -1,4 +1,5 @@
/* commit.h.in. Creates commit.h during a cmake run */ /* commit.h.in. Creates commit.h during a cmake run */
#define L10N // Localization complete.
/* git information */ /* git information */
#define COMMIT "${COMMIT}" #define COMMIT "${COMMIT}"

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_API #ifndef INCLUDED_API
#define INCLUDED_API #define INCLUDED_API
#define L10N // Localization complete.
#include "../cmake.h" #include "../cmake.h"
#ifdef HAVE_LIBLUA #ifdef HAVE_LIBLUA

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_ARGUMENTS #ifndef INCLUDED_ARGUMENTS
#define INCLUDED_ARGUMENTS #define INCLUDED_ARGUMENTS
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_ATT #ifndef INCLUDED_ATT
#define INCLUDED_ATT #define INCLUDED_ATT
#define L10N // Localization complete.
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMD #ifndef INCLUDED_CMD
#define INCLUDED_CMD #define INCLUDED_CMD
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLOR #ifndef INCLUDED_COLOR
#define INCLUDED_COLOR #define INCLUDED_COLOR
#define L10N // Localization complete.
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CONFIG #ifndef INCLUDED_CONFIG
#define INCLUDED_CONFIG #define INCLUDED_CONFIG
#define L10N // Localization complete.
#include <map> #include <map>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CONTEXT #ifndef INCLUDED_CONTEXT
#define INCLUDED_CONTEXT #define INCLUDED_CONTEXT
#define L10N // Localization complete.
#include <Command.h> #include <Command.h>
#include <Column.h> #include <Column.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_DOM #ifndef INCLUDED_DOM
#define INCLUDED_DOM #define INCLUDED_DOM
#define L10N // Localization complete.
#include <string> #include <string>
#include <time.h> #include <time.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_DATE #ifndef INCLUDED_DATE
#define INCLUDED_DATE #define INCLUDED_DATE
#define L10N // Localization complete.
#include <stdio.h> #include <stdio.h>
#include <string> #include <string>

View file

@ -26,8 +26,9 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_DIRECTORY #ifndef INCLUDED_DIRECTORY
#define INCLUDED_DIRECTORY #define INCLUDED_DIRECTORY
#define L10N // Localization complete.
#include "File.h" #include <File.h>
class Directory : public File class Directory : public File
{ {

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_DURATION #ifndef INCLUDED_DURATION
#define INCLUDED_DURATION #define INCLUDED_DURATION
#define L10N // Localization complete.
#include <string> #include <string>
#include <time.h> #include <time.h>

View file

@ -27,6 +27,7 @@
#ifndef INCLUDED_FILE #ifndef INCLUDED_FILE
#define INCLUDED_FILE #define INCLUDED_FILE
#define L10N // Localization complete.
#include <stdio.h> #include <stdio.h>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_FILTER #ifndef INCLUDED_FILTER
#define INCLUDED_FILTER #define INCLUDED_FILTER
#define L10N // Localization complete.
#include <vector> #include <vector>
#include "Att.h" #include "Att.h"

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_HOOKS #ifndef INCLUDED_HOOKS
#define INCLUDED_HOOKS #define INCLUDED_HOOKS
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -27,6 +27,7 @@
#ifndef INCLUDED_JSON #ifndef INCLUDED_JSON
#define INCLUDED_JSON #define INCLUDED_JSON
#define L10N // Localization complete.
#include <map> #include <map>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_LOCATION #ifndef INCLUDED_LOCATION
#define INCLUDED_LOCATION #define INCLUDED_LOCATION
#define L10N // Localization complete.
#include <string> #include <string>
#include <stdio.h> #include <stdio.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_NIBBLER #ifndef INCLUDED_NIBBLER
#define INCLUDED_NIBBLER #define INCLUDED_NIBBLER
#define L10N // Localization complete.
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_PATH #ifndef INCLUDED_PATH
#define INCLUDED_PATH #define INCLUDED_PATH
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_PERMISSION #ifndef INCLUDED_PERMISSION
#define INCLUDED_PERMISSION #define INCLUDED_PERMISSION
#define L10N // Localization complete.
#include <string> #include <string>
#include "Task.h" #include "Task.h"

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_RECORD #ifndef INCLUDED_RECORD
#define INCLUDED_RECORD #define INCLUDED_RECORD
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <map> #include <map>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_SEQUENCE #ifndef INCLUDED_SEQUENCE
#define INCLUDED_SEQUENCE #define INCLUDED_SEQUENCE
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_SUBST #ifndef INCLUDED_SUBST
#define INCLUDED_SUBST #define INCLUDED_SUBST
#define L10N // Localization complete.
#include <string> #include <string>
#include "Att.h" #include "Att.h"

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TDB #ifndef INCLUDED_TDB
#define INCLUDED_TDB #define INCLUDED_TDB
#define L10N // Localization complete.
#include <map> #include <map>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TDB2 #ifndef INCLUDED_TDB2
#define INCLUDED_TDB2 #define INCLUDED_TDB2
#define L10N // Localization complete.
#include <map> #include <map>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TASK #ifndef INCLUDED_TASK
#define INCLUDED_TASK #define INCLUDED_TASK
#define L10N // Localization complete.
#include <string> #include <string>
#include "Record.h" #include "Record.h"

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TASKMOD #ifndef INCLUDED_TASKMOD
#define INCLUDED_TASKMOD #define INCLUDED_TASKMOD
#define L10N // Localization complete.
#include <string> #include <string>
#include <Task.h> #include <Task.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TIMER #ifndef INCLUDED_TIMER
#define INCLUDED_TIMER #define INCLUDED_TIMER
#define L10N // Localization complete.
#include <string> #include <string>
#include <sys/time.h> #include <sys/time.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TRANSPORT #ifndef INCLUDED_TRANSPORT
#define INCLUDED_TRANSPORT #define INCLUDED_TRANSPORT
#define L10N // Localization complete.
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TRANSPORTCURL #ifndef INCLUDED_TRANSPORTCURL
#define INCLUDED_TRANSPORTCURL #define INCLUDED_TRANSPORTCURL
#define L10N // Localization complete.
#include <string> #include <string>
#include <Transport.h> #include <Transport.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TRANSPORTRSYNC #ifndef INCLUDED_TRANSPORTRSYNC
#define INCLUDED_TRANSPORTRSYNC #define INCLUDED_TRANSPORTRSYNC
#define L10N // Localization complete.
#include <string> #include <string>
#include <Transport.h> #include <Transport.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TRANSPORTSSH #ifndef INCLUDED_TRANSPORTSSH
#define INCLUDED_TRANSPORTSSH #define INCLUDED_TRANSPORTSSH
#define L10N // Localization complete.
#include <string> #include <string>
#include <Transport.h> #include <Transport.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_URI #ifndef INCLUDED_URI
#define INCLUDED_URI #define INCLUDED_URI
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_VARIANT #ifndef INCLUDED_VARIANT
#define INCLUDED_VARIANT #define INCLUDED_VARIANT
#define L10N // Localization complete.
#include <string> #include <string>
#include <time.h> #include <time.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_VIEWTASK #ifndef INCLUDED_VIEWTASK
#define INCLUDED_VIEWTASK #define INCLUDED_VIEWTASK
#define L10N // Localization complete.
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_VIEWTEXT #ifndef INCLUDED_VIEWTEXT
#define INCLUDED_VIEWTEXT #define INCLUDED_VIEWTEXT
#define L10N // Localization complete.
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLDATE #ifndef INCLUDED_COLDATE
#define INCLUDED_COLDATE #define INCLUDED_COLDATE
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLDEPENDS #ifndef INCLUDED_COLDEPENDS
#define INCLUDED_COLDEPENDS #define INCLUDED_COLDEPENDS
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLDESCRIPTION #ifndef INCLUDED_COLDESCRIPTION
#define INCLUDED_COLDESCRIPTION #define INCLUDED_COLDESCRIPTION
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLDUE #ifndef INCLUDED_COLDUE
#define INCLUDED_COLDUE #define INCLUDED_COLDUE
#define L10N // Localization complete.
#include <ColDate.h> #include <ColDate.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLEND #ifndef INCLUDED_COLEND
#define INCLUDED_COLEND #define INCLUDED_COLEND
#define L10N // Localization complete.
#include <ColDate.h> #include <ColDate.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLENTRY #ifndef INCLUDED_COLENTRY
#define INCLUDED_COLENTRY #define INCLUDED_COLENTRY
#define L10N // Localization complete.
#include <ColDate.h> #include <ColDate.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLID #ifndef INCLUDED_COLID
#define INCLUDED_COLID #define INCLUDED_COLID
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLPRIORITY #ifndef INCLUDED_COLPRIORITY
#define INCLUDED_COLPRIORITY #define INCLUDED_COLPRIORITY
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLPROJECT #ifndef INCLUDED_COLPROJECT
#define INCLUDED_COLPROJECT #define INCLUDED_COLPROJECT
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLRECUR #ifndef INCLUDED_COLRECUR
#define INCLUDED_COLRECUR #define INCLUDED_COLRECUR
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLSTART #ifndef INCLUDED_COLSTART
#define INCLUDED_COLSTART #define INCLUDED_COLSTART
#define L10N // Localization complete.
#include <ColDate.h> #include <ColDate.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLSTATUS #ifndef INCLUDED_COLSTATUS
#define INCLUDED_COLSTATUS #define INCLUDED_COLSTATUS
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLSTRING #ifndef INCLUDED_COLSTRING
#define INCLUDED_COLSTRING #define INCLUDED_COLSTRING
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLTAGS #ifndef INCLUDED_COLTAGS
#define INCLUDED_COLTAGS #define INCLUDED_COLTAGS
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLUUID #ifndef INCLUDED_COLUUID
#define INCLUDED_COLUUID #define INCLUDED_COLUUID
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLUNTIL #ifndef INCLUDED_COLUNTIL
#define INCLUDED_COLUNTIL #define INCLUDED_COLUNTIL
#define L10N // Localization complete.
#include <ColDate.h> #include <ColDate.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLURGENCY #ifndef INCLUDED_COLURGENCY
#define INCLUDED_COLURGENCY #define INCLUDED_COLURGENCY
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLWAIT #ifndef INCLUDED_COLWAIT
#define INCLUDED_COLWAIT #define INCLUDED_COLWAIT
#define L10N // Localization complete.
#include <ColDate.h> #include <ColDate.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COLUMN #ifndef INCLUDED_COLUMN
#define INCLUDED_COLUMN #define INCLUDED_COLUMN
#define L10N // Localization complete.
#include <vector> #include <vector>
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDCUSTOM #ifndef INCLUDED_CMDCUSTOM
#define INCLUDED_CMDCUSTOM #define INCLUDED_CMDCUSTOM
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDEXEC #ifndef INCLUDED_CMDEXEC
#define INCLUDED_CMDEXEC #define INCLUDED_CMDEXEC
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDHELP #ifndef INCLUDED_CMDHELP
#define INCLUDED_CMDHELP #define INCLUDED_CMDHELP
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDINSTALL #ifndef INCLUDED_CMDINSTALL
#define INCLUDED_CMDINSTALL #define INCLUDED_CMDINSTALL
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDLOGO #ifndef INCLUDED_CMDLOGO
#define INCLUDED_CMDLOGO #define INCLUDED_CMDLOGO
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -34,6 +34,8 @@
#include <ViewText.h> #include <ViewText.h>
#include <CmdShow.h> #include <CmdShow.h>
#define L10N // Localization complete.
extern Context context; extern Context context;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
@ -147,8 +149,8 @@ int CmdShow::execute (const std::string& command_line, std::string& output)
// Create output view. // Create output view.
ViewText view; ViewText view;
view.width (width); view.width (width);
view.add (Column::factory ("string", "Config variable")); view.add (Column::factory ("string", STRING_CMD_SHOW_CONF_VAR));
view.add (Column::factory ("string", "Value")); view.add (Column::factory ("string", STRING_CMD_SHOW_CONF_VALUE));
Color error ("bold white on red"); Color error ("bold white on red");
Color warning ("black on yellow"); Color warning ("black on yellow");

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDSHOW #ifndef INCLUDED_CMDSHOW
#define INCLUDED_CMDSHOW #define INCLUDED_CMDSHOW
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDTAGS #ifndef INCLUDED_CMDTAGS
#define INCLUDED_CMDTAGS #define INCLUDED_CMDTAGS
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDTIP #ifndef INCLUDED_CMDTIP
#define INCLUDED_CMDTIP #define INCLUDED_CMDTIP
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_CMDVERSION #ifndef INCLUDED_CMDVERSION
#define INCLUDED_CMDVERSION #define INCLUDED_CMDVERSION
#define L10N // Localization complete.
#include <string> #include <string>
#include <Command.h> #include <Command.h>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_COMMAND #ifndef INCLUDED_COMMAND
#define INCLUDED_COMMAND #define INCLUDED_COMMAND
#define L10N // Localization complete.
#include <map> #include <map>
#include <string> #include <string>

View file

@ -41,15 +41,50 @@
// //
// Rules: // Rules:
// - Localized strings should contain leading or trailing white space, // - 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 // Errors
#define STRING_UNKNOWN_ERROR "Unknown error." #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_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_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_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 // DOM
#define STRING_DOM_UNKNOWN "<unknown>" #define STRING_DOM_UNKNOWN "<unknown>"

View file

@ -38,6 +38,7 @@
#ifndef INCLUDED_I18N #ifndef INCLUDED_I18N
#define INCLUDED_I18N #define INCLUDED_I18N
#define L10N // Localization complete.
#include "../cmake.h" #include "../cmake.h"

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_MAIN #ifndef INCLUDED_MAIN
#define INCLUDED_MAIN #define INCLUDED_MAIN
#define L10N // Localization complete.
#define FEATURE_NEW_ID 1 // Echoes back new id. #define FEATURE_NEW_ID 1 // Echoes back new id.
//#define FEATURE_REGEX 1 // Enables regexes for attribute modifiers, //#define FEATURE_REGEX 1 // Enables regexes for attribute modifiers,

View file

@ -32,6 +32,8 @@
#include "util.h" #include "util.h"
#include "main.h" #include "main.h"
#define L10N // Localization complete.
extern Context context; extern Context context;
static std::map <std::string, Color> gsColor; static std::map <std::string, Color> gsColor;

View file

@ -29,6 +29,8 @@
#include <regex.h> #include <regex.h>
#include "rx.h" #include "rx.h"
#define L10N // Localization complete.
//#define _POSIX_C_SOURCE 1 //#define _POSIX_C_SOURCE 1
#define MAX_MATCHES 8 #define MAX_MATCHES 8

View file

@ -27,6 +27,7 @@
#ifndef INCLUDED_RX #ifndef INCLUDED_RX
#define INCLuDED_RX #define INCLuDED_RX
#define L10N // Localization complete.
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_TEXT #ifndef INCLUDED_TEXT
#define INCLUDED_TEXT #define INCLUDED_TEXT
#define L10N // Localization complete.
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_UTF8 #ifndef INCLUDED_UTF8
#define INCLUDED_UTF8 #define INCLUDED_UTF8
#define L10N // Localization complete.
#include <string> #include <string>

View file

@ -26,6 +26,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#ifndef INCLUDED_UTIL #ifndef INCLUDED_UTIL
#define INCLUDED_UTIL #define INCLUDED_UTIL
#define L10N // Localization complete.
#include <string> #include <string>
#include <vector> #include <vector>
@ -42,6 +43,7 @@
#define max(a,b) ((a) > (b) ? (a) : (b)) #define max(a,b) ((a) > (b) ? (a) : (b))
#endif #endif
// TODO Obsolete.
#define foreach(i, c) \ #define foreach(i, c) \
for (typeof (c) *foreach_p = & (c); \ for (typeof (c) *foreach_p = & (c); \
foreach_p; \ foreach_p; \