~ubuntu-branches/ubuntu/jaunty/localization-config/jaunty

« back to all changes in this revision

Viewing changes to conffiles.d/woody/gdm

  • Committer: Bazaar Package Importer
  • Author(s): Konstantinos Margaritis
  • Date: 2005-05-23 00:36:51 UTC
  • Revision ID: james.westby@ubuntu.com-20050523003651-2xfe4l262j5ij3xa
Tags: 0.116
* Translatios
  - Bulgarian added. Closes: #308129
  - Updated Greek and Vietnamese. Closes: #309055
  - Fixed templates file that included extra test messages for session
  chooser
* Closes forgotten bugs. Closes: #306084, #306052.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
# We use some helper subroutines so we have to include
9
9
# their definitions
10
10
require '/usr/lib/localization-config/common/editconfig.pl';
 
11
require '/usr/lib/localization-config/common/log.pl';
11
12
 
12
13
# If no locale is given as argument, quit
13
 
my $lang = $ARGV[0] or die "No language given";
 
14
my $lang = $ARGV[0] or log_die("$0: No language given");
14
15
 
15
16
# The configuration files
16
17
my $gdmconfig = "/etc/default/gdm";
19
20
# language, country and extra information (eg '@euro')
20
21
my ($langcode) = $lang =~ m/^(..)_(..)(@.+)?/;
21
22
 
22
 
my $debug = 0;
23
 
 
24
23
# Print the supported locale entries.
25
24
if ("supported" eq $lang) {
26
25
    print "all\n";
27
26
    exit 0;
28
27
}
29
28
 
30
 
UpdateOrAppendVariable($gdmconfig, "LANG", $langcode);
 
 
b'\\ No newline at end of file'
 
29
UpdateOrAppendVariable($gdmconfig, "LANG", $langcode, "=");
 
 
b'\\ No newline at end of file'