[krb5-auth-dialog] add note for translators
- From: Guido Günther <guidog src gnome org>
- To: svn-commits-list gnome org
- Subject: [krb5-auth-dialog] add note for translators
- Date: Sat, 13 Jun 2009 12:07:03 -0400 (EDT)
commit 5b7392d972f2e4aa9422af61a9bb0ec25f864925
Author: Guido Günther <agx sigxcpu org>
Date: Sat Jun 13 17:56:09 2009 +0200
add note for translators
ChangeLog | 5 +++++
etpo/lexer.l | 6 +++++-
src/dummy-strings.c | 5 +++++
3 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2c3f64b..c0b6670 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jun 13 18:03:26 CEST 2009 Guido Günther <agx sigxcpu org>
+
+ * src/dummy-strings.c: add note for translators
+ * etpo/lexer.l: likewise
+
Sat Jun 13 17:39:07 CEST 2009 Guido Günther <agx sigxcpu org>
* src/krb5-auth-applet.c (ka_applet_create_context_menu): use
diff --git a/etpo/lexer.l b/etpo/lexer.l
index 9bc4b75..4cdec06 100644
--- a/etpo/lexer.l
+++ b/etpo/lexer.l
@@ -104,7 +104,11 @@ yywrap(void)
static void
header(void)
{
- const char *boilerplate = "#include <glib/gi18n.h>\n\nconst char *dummy[] = {\n";
+ const char *boilerplate = "#include <glib/gi18n.h>\n\nconst char *dummy[] = {\n"
+ "\t/* Translators: files from dummy-strings.c are *all* possible errors\n"
+ "\t returned from Kerberos (since Kerberos itself doesn't handle i18n). If in\n"
+ "\t doubt please translate strings from files starting with krb5-auth\n"
+ "\t first since these are the ones the user will see in any case. */\n";
printf("%s", boilerplate);
}
diff --git a/src/dummy-strings.c b/src/dummy-strings.c
index b5009ad..7f8bbee 100644
--- a/src/dummy-strings.c
+++ b/src/dummy-strings.c
@@ -1,7 +1,12 @@
/* Generated by hand via "cd etpo; make update-etpo" from /tmp/krb5-1.6.dfsg.4~beta1/ */
#include <glib/gi18n.h>
+
const char *dummy[] = {
+ /* Translators: files from dummy-strings.c are *all* possible errors
+ returned from Kerberos (since Kerberos itself doesn't handle i18n). If in
+ doubt please translate strings from files starting with krb5-auth
+ first since these are the ones the user will see in any case. */
N_("ASN.1 failed call to system time library"), /* asn1_err.et:asn1:ASN1_BAD_TIMEFORMAT */
N_("ASN.1 structure is missing a required field"), /* asn1_err.et:asn1:ASN1_MISSING_FIELD */
N_("ASN.1 unexpected field number"), /* asn1_err.et:asn1:ASN1_MISPLACED_FIELD */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]