mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-26 20:54:22 +01:00
Fix transiflex scripts to explicitly require python2
This commit is contained in:
parent
35ee2499aa
commit
548320f998
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
#vim:set fileencoding=utf-8 sw=2 expandtab
|
||||
|
||||
from transifex import Transifex
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
#vim:set fileencoding=utf-8 sw=2 expandtab
|
||||
|
||||
from transifex import Transifex
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
#vim:set fileencoding=utf-8 sw=2 expandtab
|
||||
|
||||
import update
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
#vim:set fileencoding=utf-8 sw=2 expandtab
|
||||
|
||||
def unquote(s):
|
||||
|
@ -28,7 +28,7 @@ catalog()
|
||||
update()
|
||||
{
|
||||
echo -e "Updating $1...\c"
|
||||
cat "$catalog" | python python/update.py "$1"
|
||||
cat "$catalog" | python2 python/update.py "$1"
|
||||
msgcat -p "$1" > $(basename "$1" .po).properties
|
||||
# msgcat may complain about "CHARSET" if you didn't replace "CHARSET" with
|
||||
# your correct charset.
|
||||
|
Loading…
x
Reference in New Issue
Block a user