Skip to content

Commit b9fa575

Browse files
committed
1 parent 086f66c commit b9fa575

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

translate-messages/__main__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
'''
2-
Name: translate-en-messages
3-
Version: 2026.2.10.37
4-
Author: Adam Lui
5-
Description: Translate en/messages.json to other locales
6-
Homepage: https://github.com/adamlui/python-utils
7-
Support: https://github.com/adamlui/python-utils/issues
8-
Sponsor: https://github.com/sponsors/adamlui
9-
Notes: Use --help to print CLI args
10-
'''
11-
121
import os, json
132
from lib import init
143
from sys import stdout

translate-messages/lib/init.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ def parse_csv_val(val) : return [item.strip() for item in val.split(',') if item
55
def cli(callerFile):
66
cli = sns(
77
name='translate-messages',
8-
urls=sns(jsdelivr='https://cdn.jsdelivr.net/gh/adamlui/python-utils'),
8+
version='2026.2.10.38',
9+
author=sns(name='Adam Lui', email='adam@kudoa.com', url='https://github.com/adamlui'),
10+
description='Translate en/messages.json to other locales',
11+
urls=sns(
12+
github='https://github.com/adamlui/python-utils',
13+
jsdelivr='https://cdn.jsdelivr.net/gh/adamlui/python-utils',
14+
sponsor='https://github.com/sponsors/adamlui',
15+
support='https://github.com/adamlui/python-utils/issues'
16+
),
917
default_target_locales=[
1018
'af', 'am', 'ar', 'az', 'be', 'bem', 'bg', 'bn', 'bo', 'bs', 'ca', 'ceb', 'cs', 'cy', 'da', 'de', 'dv',
1119
'dz', 'el', 'en', 'en-GB', 'eo', 'es', 'et', 'eu', 'fa', 'fi', 'fo', 'fr', 'gd', 'gl', 'gu', 'haw', 'he',

0 commit comments

Comments
 (0)