diff --git a/i18n/i18n.h b/i18n/i18n.h new file mode 100644 index 000000000..94cdae763 --- /dev/null +++ b/i18n/i18n.h @@ -0,0 +1,141 @@ +//////////////////////////////////////////////////////////////////////////////// +// task - a command line task list manager. +// +// Copyright 2006 - 2009, Paul Beckingham. +// All rights reserved. +// +// This program is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free Software +// Foundation; either version 2 of the License, or (at your option) any later +// version. +// +// This program is distributed in the hope that it will be useful, but WITHOUT +// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// 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., +// 51 Franklin Street, Fifth Floor, +// Boston, MA +// 02110-1301 +// USA +// +//////////////////////////////////////////////////////////////////////////////// + +#ifndef INCLUDED_I18N +#define INCLUDED_I18N + +// 1xx task shell +#define SHELL_UNKNOWN_ERROR 100 + +// 2xx Commands +#define CMD_ACTIVE 200 +#define CMD_ADD 201 +#define CMD_APPEND 202 +#define CMD_ANNOTATE 203 +#define CMD_CALENDAR 204 +#define CMD_COLORS 205 +#define CMD_COMPLETED 206 +#define CMD_DELETE 207 +#define CMD_DONE 208 +#define CMD_DUPLICATE 209 +#define CMD_EDIT 210 +#define CMD_EXPORT 211 +#define CMD_HELP 212 +#define CMD_HISTORY 213 +#define CMD_GHISTORY 214 +#define CMD_IMPORT 215 +#define CMD_INFO 216 +#define CMD_NEXT 217 +#define CMD_OVERDUE 218 +#define CMD_PROJECTS 219 +#define CMD_START 220 +#define CMD_STATS 221 +#define CMD_STOP 222 +#define CMD_SUMMARY 223 +#define CMD_TAGS 224 +#define CMD_TIMESHEET 225 +#define CMD_UNDELETE 226 +#define CMD_UNDO 227 +#define CMD_VERSION 228 + +// 3xx Attributes +#define ATT_PROJECT 300 +#define ATT_PRIORITY 301 +#define ATT_FG 302 +#define ATT_BG 303 +#define ATT_DUE 304 +#define ATT_ENTRY 305 +#define ATT_START 306 +#define ATT_END 307 +#define ATT_RECUR 308 +#define ATT_UNTIL 309 +#define ATT_MASK 310 +#define ATT_IMASK 311 + +// 4xx Columns + +// 5xx Colors +#define COLOR_BOLD 500 +#define COLOR_UL 501 +#define COLOR_B_UL 502 +#define COLOR_BLACK 503 +#define COLOR_RED 504 +#define COLOR_GREEN 505 +#define COLOR_YELLOW 506 +#define COLOR_BLUE 507 +#define COLOR_MAGENTA 508 +#define COLOR_CYAN 509 +#define COLOR_WHITE 510 +#define COLOR_B_BLACK 511 +#define COLOR_B_RED 512 +#define COLOR_B_GREEN 513 +#define COLOR_B_YELLOW 514 +#define COLOR_B_BLUE 515 +#define COLOR_B_MAGENTA 516 +#define COLOR_B_CYAN 517 +#define COLOR_B_WHITE 518 +#define COLOR_UL_BLACK 519 +#define COLOR_UL_RED 520 +#define COLOR_UL_GREEN 521 +#define COLOR_UL_YELLOW 522 +#define COLOR_UL_BLUE 523 +#define COLOR_UL_MAGENTA 524 +#define COLOR_UL_CYAN 525 +#define COLOR_UL_WHITE 526 +#define COLOR_B_UL_BLACK 527 +#define COLOR_B_UL_RED 528 +#define COLOR_B_UL_GREEN 529 +#define COLOR_B_UL_YELLOW 530 +#define COLOR_B_UL_BLUE 531 +#define COLOR_B_UL_MAGENTA 532 +#define COLOR_B_UL_CYAN 533 +#define COLOR_B_UL_WHITE 534 +#define COLOR_ON_BLACK 535 +#define COLOR_ON_RED 536 +#define COLOR_ON_GREEN 537 +#define COLOR_ON_YELLOW 538 +#define COLOR_ON_BLUE 539 +#define COLOR_ON_MAGENTA 540 +#define COLOR_ON_CYAN 541 +#define COLOR_ON_WHITE 542 +#define COLOR_ON_BRIGHT_BLACK 543 +#define COLOR_ON_BRIGHT_RED 544 +#define COLOR_ON_BRIGHT_GREEN 545 +#define COLOR_ON_BRIGHT_YELLOW 546 +#define COLOR_ON_BRIGHT_BLUE 547 +#define COLOR_ON_BRIGHT_MAGENTA 548 +#define COLOR_ON_BRIGHT_CYAN 549 +#define COLOR_ON_BRIGHT_WHITE 550 + +// 6xx Config + +// 7xx TDB + +// 8xx Reports + +#endif + diff --git a/i18n/strings.en-US b/i18n/strings.en-US new file mode 100644 index 000000000..d6b76a485 --- /dev/null +++ b/i18n/strings.en-US @@ -0,0 +1,120 @@ +# This is an example strings.en-US file. +# +# The task program has a built-in set of default strings, which are UTF8 encoded +# for the en-US locale. A file such as this is used to override those defaults. +# This means that a strings file is merely a delta applied to the built-in +# strings, so an empty string file means you get en-US. +# +# To use another string file, add the following entry to your .taskrc file: +# +# locale=sv-SE # Swedish string set + +# 1xx task shell +100 Unknown Error. + +# 2xx Commands +200 active +201 add +202 append +203 annotate +204 calendar +205 colors +206 completed +207 delete +208 done +209 duplicate +210 edit +211 export +212 help +213 history +214 ghistory +215 import +216 info +217 next +218 overdue +219 projects +220 start +221 stats +222 stop +223 summary +224 tags +225 timesheet +226 undelete +227 undo +228 version + +# 3xx Attributes +300 project +301 priority +302 fg +303 bg +304 due +305 entry +306 start +307 end +308 recur +309 until +310 mask +311 imask + +# 4xx Columns + +# 5xx Colors +500 bold +501 underline +502 bold_underline +503 black +504 red +505 green +506 yellow +507 blue +508 magenta +509 cyan +510 white +511 bold_black +512 bold_red +513 bold_green +514 bold_yellow +515 bold_blue +516 bold_magenta +517 bold_cyan +518 bold_white +519 underline_black +520 underline_red +521 underline_green +522 underline_yellow +523 underline_blue +524 underline_magenta +525 underline_cyan +526 underline_white +527 bold_underline_black +528 bold_underline_red +529 bold_underline_green +530 bold_underline_yellow +531 bold_underline_blue +532 bold_underline_magenta +533 bold_underline_cyan +534 bold_underline_white +535 on_black +536 on_red +537 on_green +538 on_yellow +539 on_blue +540 on_magenta +541 on_cyan +542 on_white +543 on_bright_black +544 on_bright_red +545 on_bright_green +546 on_bright_yellow +547 on_bright_blue +548 on_bright_magenta +549 on_bright_cyan +550 on_bright_white + +# 6xx Config + +# 7xx TDB + +# 8xx Reports + diff --git a/i18n/strings.sv-SE b/i18n/strings.sv-SE new file mode 100644 index 000000000..e8dd346cf --- /dev/null +++ b/i18n/strings.sv-SE @@ -0,0 +1,11 @@ +# 1xx task shell +100 Okänt fel. + +# 2xx Commands +# 3xx Attributes +# 4xx Columns +# 5xx Colors +# 6xx Config +# 7xx TDB +# 8xx Reports +