summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-04-03 11:20:33 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:13:05 +0200
commit7ed1b88435b4fca7e936325fd6473359a0af2aac (patch)
tree80455601206965a2554378c244dac68015164d6a /gettext-tools/src
parentc4296e713585107f4137c142cd188eafb03383af (diff)
downloadexternal_gettext-7ed1b88435b4fca7e936325fd6473359a0af2aac.zip
external_gettext-7ed1b88435b4fca7e936325fd6473359a0af2aac.tar.gz
external_gettext-7ed1b88435b4fca7e936325fd6473359a0af2aac.tar.bz2
Document the default keywords.
Diffstat (limited to 'gettext-tools/src')
-rw-r--r--gettext-tools/src/x-awk.c4
-rw-r--r--gettext-tools/src/x-c.c2
-rw-r--r--gettext-tools/src/x-csharp.c4
-rw-r--r--gettext-tools/src/x-elisp.c4
-rw-r--r--gettext-tools/src/x-glade.c4
-rw-r--r--gettext-tools/src/x-java.c4
-rw-r--r--gettext-tools/src/x-librep.c4
-rw-r--r--gettext-tools/src/x-lisp.c4
-rw-r--r--gettext-tools/src/x-perl.c2
-rw-r--r--gettext-tools/src/x-php.c2
-rw-r--r--gettext-tools/src/x-python.c4
-rw-r--r--gettext-tools/src/x-scheme.c4
-rw-r--r--gettext-tools/src/x-sh.c4
-rw-r--r--gettext-tools/src/x-tcl.c4
14 files changed, 39 insertions, 11 deletions
diff --git a/gettext-tools/src/x-awk.c b/gettext-tools/src/x-awk.c
index ac0347c..50d7499 100644
--- a/gettext-tools/src/x-awk.c
+++ b/gettext-tools/src/x-awk.c
@@ -1,5 +1,5 @@
/* xgettext awk backend.
- Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2005-2006 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2002.
@@ -90,6 +90,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_awk_keyword ("dcgettext");
x_awk_keyword ("dcngettext:1,2");
default_keywords = false;
diff --git a/gettext-tools/src/x-c.c b/gettext-tools/src/x-c.c
index 31d48c6..4e16312 100644
--- a/gettext-tools/src/x-c.c
+++ b/gettext-tools/src/x-c.c
@@ -147,6 +147,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_c_keyword ("gettext");
x_c_keyword ("dgettext:2");
x_c_keyword ("dcgettext:2");
diff --git a/gettext-tools/src/x-csharp.c b/gettext-tools/src/x-csharp.c
index cbdb199..4d87cb9 100644
--- a/gettext-tools/src/x-csharp.c
+++ b/gettext-tools/src/x-csharp.c
@@ -1,5 +1,5 @@
/* xgettext C# backend.
- Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005-2006 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
@@ -99,6 +99,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_csharp_keyword ("GetString"); /* Resource{Manager,Set}.GetString */
x_csharp_keyword ("GetPluralString:1,2"); /* GettextResource{Manager,Set}.GetPluralString */
default_keywords = false;
diff --git a/gettext-tools/src/x-elisp.c b/gettext-tools/src/x-elisp.c
index c93854a..df00643 100644
--- a/gettext-tools/src/x-elisp.c
+++ b/gettext-tools/src/x-elisp.c
@@ -1,5 +1,5 @@
/* xgettext Emacs Lisp backend.
- Copyright (C) 2001-2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2005-2006 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2001-2002.
@@ -105,6 +105,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_elisp_keyword ("_");
default_keywords = false;
}
diff --git a/gettext-tools/src/x-glade.c b/gettext-tools/src/x-glade.c
index cf6bc61..7754ec7 100644
--- a/gettext-tools/src/x-glade.c
+++ b/gettext-tools/src/x-glade.c
@@ -1,5 +1,5 @@
/* xgettext glade backend.
- Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2005-2006 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2002.
@@ -91,6 +91,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_glade_keyword ("label");
x_glade_keyword ("title");
x_glade_keyword ("text");
diff --git a/gettext-tools/src/x-java.c b/gettext-tools/src/x-java.c
index c113928..34064d4 100644
--- a/gettext-tools/src/x-java.c
+++ b/gettext-tools/src/x-java.c
@@ -1,5 +1,5 @@
/* xgettext Java backend.
- Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005-2006 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
@@ -97,6 +97,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_java_keyword ("GettextResource.gettext:2"); /* static method */
x_java_keyword ("GettextResource.ngettext:2,3"); /* static method */
x_java_keyword ("gettext");
diff --git a/gettext-tools/src/x-librep.c b/gettext-tools/src/x-librep.c
index 1a88998..6705ced 100644
--- a/gettext-tools/src/x-librep.c
+++ b/gettext-tools/src/x-librep.c
@@ -1,5 +1,5 @@
/* xgettext librep backend.
- Copyright (C) 2001-2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2005-2006 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2001.
@@ -107,6 +107,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_librep_keyword ("_");
default_keywords = false;
}
diff --git a/gettext-tools/src/x-lisp.c b/gettext-tools/src/x-lisp.c
index 19f3073..35416ee 100644
--- a/gettext-tools/src/x-lisp.c
+++ b/gettext-tools/src/x-lisp.c
@@ -1,5 +1,5 @@
/* xgettext Lisp backend.
- Copyright (C) 2001-2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2005-2006 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2001.
@@ -167,6 +167,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_lisp_keyword ("gettext"); /* I18N:GETTEXT */
x_lisp_keyword ("ngettext:1,2"); /* I18N:NGETTEXT */
x_lisp_keyword ("gettext-noop");
diff --git a/gettext-tools/src/x-perl.c b/gettext-tools/src/x-perl.c
index 10b9337..3dfea72 100644
--- a/gettext-tools/src/x-perl.c
+++ b/gettext-tools/src/x-perl.c
@@ -97,6 +97,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_perl_keyword ("gettext");
x_perl_keyword ("%gettext");
x_perl_keyword ("$gettext");
diff --git a/gettext-tools/src/x-php.c b/gettext-tools/src/x-php.c
index 90a3360..77c2b67 100644
--- a/gettext-tools/src/x-php.c
+++ b/gettext-tools/src/x-php.c
@@ -94,6 +94,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_php_keyword ("_");
x_php_keyword ("gettext");
x_php_keyword ("dgettext:2");
diff --git a/gettext-tools/src/x-python.c b/gettext-tools/src/x-python.c
index b256a6d..87b49db 100644
--- a/gettext-tools/src/x-python.c
+++ b/gettext-tools/src/x-python.c
@@ -1,5 +1,5 @@
/* xgettext Python backend.
- Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2005-2006 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2002.
@@ -107,6 +107,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_python_keyword ("gettext");
x_python_keyword ("ugettext");
x_python_keyword ("dgettext:2");
diff --git a/gettext-tools/src/x-scheme.c b/gettext-tools/src/x-scheme.c
index d678b1f..9b33efb 100644
--- a/gettext-tools/src/x-scheme.c
+++ b/gettext-tools/src/x-scheme.c
@@ -1,5 +1,5 @@
/* xgettext Scheme backend.
- Copyright (C) 2004-2005 Free Software Foundation, Inc.
+ Copyright (C) 2004-2006 Free Software Foundation, Inc.
This file was written by Bruno Haible <bruno@clisp.org>, 2004-2005.
@@ -126,6 +126,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_scheme_keyword ("gettext"); /* libguile/i18n.c */
x_scheme_keyword ("ngettext:1,2"); /* libguile/i18n.c */
x_scheme_keyword ("gettext-noop");
diff --git a/gettext-tools/src/x-sh.c b/gettext-tools/src/x-sh.c
index 07e5d9d..45bef34 100644
--- a/gettext-tools/src/x-sh.c
+++ b/gettext-tools/src/x-sh.c
@@ -1,5 +1,5 @@
/* xgettext sh backend.
- Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2005-2006 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
@@ -108,6 +108,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_sh_keyword ("gettext");
x_sh_keyword ("ngettext:1,2");
x_sh_keyword ("eval_gettext");
diff --git a/gettext-tools/src/x-tcl.c b/gettext-tools/src/x-tcl.c
index 3271fdc..301467b 100644
--- a/gettext-tools/src/x-tcl.c
+++ b/gettext-tools/src/x-tcl.c
@@ -1,5 +1,5 @@
/* xgettext Tcl backend.
- Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002-2003, 2005-2006 Free Software Foundation, Inc.
This file was written by Bruno Haible <haible@clisp.cons.org>, 2002.
@@ -110,6 +110,8 @@ init_keywords ()
{
if (default_keywords)
{
+ /* When adding new keywords here, also update the documentation in
+ xgettext.texi! */
x_tcl_keyword ("::msgcat::mc");
default_keywords = false;
}