Changeset 36367 in osm for applications


Ignore:
Timestamp:
2025-01-09T12:38:08+01:00 (2 weeks ago)
Author:
stoecker
Message:

add i18nupdate target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/github

    r36364 r36367  
    3939  }
    4040}
     41elsif(($ARGV[0]||'') eq 'i18nupdate')
     42{
     43  my $dir = cwd();
     44  for my $plugin (<$file>)
     45  {
     46    print($plugin);
     47    chomp($plugin);
     48    chdir($plugin);
     49    for my $file (glob "data/*.lang")
     50    {
     51      system('git','add',$file);
     52    }
     53    system('git','commit','-m','I18n update');
     54    system('git','remote','set-url','origin',"git\@github.com:JOSM/$plugin.git");
     55    system('git','push');
     56    chdir($dir);
     57  }
     58
     59}
    4160else
    4261{
Note: See TracChangeset for help on using the changeset viewer.