Bug#457917: Acknowledgement (apt: [INTL:nb] Updated translation of program for Norwegian Bokmal)

2008-01-02 Thread Hans Fr. Nordhaug
To strings not following our guidelines were correct.
Please use the updated file attached to this message.

Regards,
Hans


apt_po_nb.po.gz
Description: GNU Zip compressed data


Bug#391144: Please update the translations for the dselect package

2006-10-08 Thread Hans Fr. Nordhaug
Updated Norwegian Bokmål translation attached.

Regards,
Hans


nb.po.gz
Description: GNU Zip compressed data


Bug#298834: adduser: [INTL:nb] Translation of program for Norwegian Bokmal

2005-03-15 Thread Hans Fr. Nordhaug
I sent this message directly to the maintainer, but maybe it got
stopped by spam filters. Adding it to this bug report even though it
maybe should have been a new seperate report - removed quotes.

- Original message -

Date: Thu, 10 Mar 2005 15:23:08 +0100
From: Hans F. Nordhaug [EMAIL PROTECTED]
To: Marc Haber [EMAIL PROTECTED]
Subject: Re: adduser: [INTL:nb] Translation of program for Norwegian Bokmal

[cut away old text]

OK, I'm not a gettext expert myself, but reading the info pages I found out
that you can update the pot file (the basis for all po files) with the
following command (executed in the po directory):

xgettext -k_ -L Perl ../adduser ../deluser ../AdduserCommon.pm -o adduser.pot

After doing this I 
1) discovered that this hadn't been done for a while - explaining why
   not all of my translations appeared.
2) there where bugs in some gettext commands in deluser.

I have attatched a patch for deluser, updated Norwegian translation and
updated pot-file. If you think I should file a new bug report, I'll do so, but
maybe it's easier that you directly submit to svn.

Best regards,
Hans Nordhaug

PS! The usage subroutine for adduser seem outdated compared to the header of
the file - which is correct? 
--- deluser 2005-03-04 07:35:18.0 +0100
+++ deluser.new 2005-03-10 15:01:12.0 +0100
@@ -282,14 +282,14 @@
  sub home_match {
foreach my $mount (@mountpoints) {
  if( $File::Find::name eq $mount ) {
-   s_print(_(Not backing up/removing $File::Find::name, it is a 
mount point.\n));
+   s_print(_(Not backing up/removing `%s', it is a mount 
point.\n),$File::Find::name);
$File::Find::prune=1;
return;
  }
}
foreach my $re ( split ' ', $config{no_del_paths} ) {
  if( $File::Find::name =~ qr/$re/ ) {
-   s_print(_(Not backing up/removing $File::Find::name, it 
matches $re.\n));
+   s_print(_(Not backing up/removing `%s', it matches 
%s.\n),$File::Find::name,$re);
$File::Find::prune=1;
return;
  }
@@ -438,7 +438,7 @@
 sub usage {
 printf(deluser: %s $version\n\n,_(removing user and groups from the 
system. Version:));
 
-print(deluser user
+printf(_(deluser user
   remove a normal user from the system
   example: deluser mike
 
@@ -467,7 +467,7 @@
   --quiet | -q  don't give process information to stdout
   --help | -h   usage message
   --version | -vversion number and copyright
-  --conf | -c FILE  use FILE instead of $defaults\n\n);
+  --conf | -c FILE  use FILE instead of %s\n\n),$defaults);
 
 printf(_(Global configuration is in the file %s.\n), $defaults);
 }
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR [EMAIL PROTECTED], YEAR.
#
#, fuzzy
msgid 
msgstr 
Project-Id-Version: PACKAGE VERSION\n
Report-Msgid-Bugs-To: \n
POT-Creation-Date: 2005-03-10 15:09+0100\n
PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n
Last-Translator: FULL NAME [EMAIL PROTECTED]\n
Language-Team: LANGUAGE [EMAIL PROTECTED]\n
MIME-Version: 1.0\n
Content-Type: text/plain; charset=CHARSET\n
Content-Transfer-Encoding: 8bit\n

#: ../adduser:126 ../deluser:133
msgid No options allowed after names.\n
msgstr 

#: ../adduser:145
msgid --ingroup requires an argument.\n
msgstr 

#: ../adduser:148 ../deluser:158
msgid --home requires an argument.\n
msgstr 

#: ../adduser:150
msgid The home dir must be an absolute path.\n
msgstr 

#: ../adduser:153
msgid --gecos requires an argument.\n
msgstr 

#: ../adduser:156
msgid --shell requires an argument.\n
msgstr 

#: ../adduser:165
msgid --uid requires a numeric argument.\n
msgstr 

#: ../adduser:168
msgid --firstuid requires a numeric argument.\n
msgstr 

#: ../adduser:171
msgid --lastuid requires a numeric argument.\n
msgstr 

#: ../adduser:174
msgid --gid requires a numeric argument.\n
msgstr 

#: ../adduser:177 ../deluser:149
msgid --conf requires an argument.\n
msgstr 

#: ../adduser:179 ../deluser:151
#, perl-format
msgid `%s' does not exist.\n
msgstr 

#: ../adduser:186 ../deluser:170
#, perl-format
msgid Unknown argument `%s'.\n
msgstr 

#: ../adduser:192
msgid Only root may add a user or group to the system.\n
msgstr 

#: ../adduser:195
msgid Warning: The home dir you specified already exists.\n
msgstr 

#: ../adduser:197
msgid Warning: The home dir you specified does not exist.\n
msgstr 

#: ../adduser:204
msgid Enter a groupname to add: 
msgstr 

#: ../adduser:208
msgid Enter a username to add: 
msgstr 

#: ../adduser:213
msgid I need a name to add.\n
msgstr 

#: ../adduser:214 ../deluser:201
msgid No more than two names.\n
msgstr 

#: ../adduser:216 ../deluser:204
msgid Specify only one name in this mode.\n
msgstr 

#: ../adduser:237
msgid The --group, --ingroup,