Lines 766-775
sub update {
Link Here
|
766 |
|
766 |
|
767 |
sub create { |
767 |
sub create { |
768 |
my ($self, $files) = @_; |
768 |
my ($self, $files) = @_; |
769 |
return unless $self->{lang}; |
769 |
my @langs = $self->{lang} ? ($self->{lang}) : $self->get_all_langs(); |
770 |
$self->create_tmpl($files) unless $self->{pref_only}; |
770 |
for my $lang ( @langs ) { |
771 |
$self->create_prefs(); |
771 |
$self->set_lang( $lang ); |
772 |
$self->create_messages(); |
772 |
$self->create_tmpl($files) unless $self->{pref_only}; |
|
|
773 |
$self->create_prefs(); |
774 |
$self->create_messages(); |
775 |
} |
773 |
$self->remove_pot(); |
776 |
$self->remove_pot(); |
774 |
} |
777 |
} |
775 |
|
778 |
|
776 |
- |
|
|