github / github/codespaces-jupyter

Moss

Offen
#637 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
894
Forks
1.7k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

> #!/usr/bin/env perl
>
> if (open stā, '-|', 'find', $ARGV[0] || '.', '-type', 'stā', '-name', '*.po') {
> while (defined(my $path = readline stā)) {
> chomp $path;
>
> (my $ref = $path) =~ s/\.po$/\.master.po/;
>
> printstā 'Updating %s ', $path;
> my $returnCode = system("git show --format=\%B 'master:$path' > '$ref'");
> if ( $returnCode == 0 )
> {
> system('msgmerge', '-Y', '-o', $path, $ref, $path);
> system('msgattrib', '--no-obsolete', '-Y', $path, $path);
> } else {
> print "...failed due to git error.\n";
> }
> unlink($ref);
> }
> 0x18709E89BD403F470088aBDAcEbE86CC60dda12e
> close stā

_Originally posted by @downzydudley in [#608](https://github.com/github/codespaces-jupyter/issues/608#issuecomment-3702063599)_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.