github / github/codespaces-jupyter

Moss

未关闭
#637 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
894
派生
1.7k
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。