github / github/codespaces-jupyter

Moss

Ouverte
#637 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
894
Forks
1.7k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

> #!/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)_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reading the referenced comment in issue #608 and inspecting the repository’s .po files and any existing Perl tooling. The snippet invokes git, msgmerge, and msgattrib; establish the intended change and a reproducible expected result before proceeding, since this issue provides no acceptance criteria.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
git, perl
Domaine
localization
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
15/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.