|
@@ -55,7 +55,7 @@ if __name__ == '__main__':
|
55
|
55
|
irc_strings.append(match)
|
56
|
56
|
|
57
|
57
|
print("irc strings:", len(irc_strings))
|
58
|
|
- with open(os.path.join(arguments['<languages-dir>'], 'example-irc.lang.json'), 'w') as f:
|
|
58
|
+ with open(os.path.join(arguments['<languages-dir>'], 'example', 'irc.lang.json'), 'w') as f:
|
59
|
59
|
f.write(json.dumps({k:k for k in irc_strings}, sort_keys=True, indent=2, separators=(',', ': ')))
|
60
|
60
|
f.write('\n')
|
61
|
61
|
|
|
@@ -74,7 +74,7 @@ if __name__ == '__main__':
|
74
|
74
|
help_strings.append(match)
|
75
|
75
|
|
76
|
76
|
print("help strings:", len(help_strings))
|
77
|
|
- with open(os.path.join(arguments['<languages-dir>'], 'example-help.lang.json'), 'w') as f:
|
|
77
|
+ with open(os.path.join(arguments['<languages-dir>'], 'example', 'help.lang.json'), 'w') as f:
|
78
|
78
|
f.write(json.dumps({k:k for k in help_strings}, sort_keys=True, indent=2, separators=(',', ': ')))
|
79
|
79
|
f.write('\n')
|
80
|
80
|
|
|
@@ -93,7 +93,7 @@ if __name__ == '__main__':
|
93
|
93
|
help_strings.append(match)
|
94
|
94
|
|
95
|
95
|
print("nickserv help strings:", len(help_strings))
|
96
|
|
- with open(os.path.join(arguments['<languages-dir>'], 'example-nickserv.lang.json'), 'w') as f:
|
|
96
|
+ with open(os.path.join(arguments['<languages-dir>'], 'example', 'nickserv.lang.json'), 'w') as f:
|
97
|
97
|
f.write(json.dumps({k:k for k in help_strings}, sort_keys=True, indent=2, separators=(',', ': ')))
|
98
|
98
|
f.write('\n')
|
99
|
99
|
|
|
@@ -112,7 +112,7 @@ if __name__ == '__main__':
|
112
|
112
|
help_strings.append(match)
|
113
|
113
|
|
114
|
114
|
print("chanserv help strings:", len(help_strings))
|
115
|
|
- with open(os.path.join(arguments['<languages-dir>'], 'example-chanserv.lang.json'), 'w') as f:
|
|
115
|
+ with open(os.path.join(arguments['<languages-dir>'], 'example', 'chanserv.lang.json'), 'w') as f:
|
116
|
116
|
f.write(json.dumps({k:k for k in help_strings}, sort_keys=True, indent=2, separators=(',', ': ')))
|
117
|
117
|
f.write('\n')
|
118
|
118
|
|
|
@@ -131,6 +131,6 @@ if __name__ == '__main__':
|
131
|
131
|
help_strings.append(match)
|
132
|
132
|
|
133
|
133
|
print("hostserv help strings:", len(help_strings))
|
134
|
|
- with open(os.path.join(arguments['<languages-dir>'], 'example-hostserv.lang.json'), 'w') as f:
|
|
134
|
+ with open(os.path.join(arguments['<languages-dir>'], 'example', 'hostserv.lang.json'), 'w') as f:
|
135
|
135
|
f.write(json.dumps({k:k for k in help_strings}, sort_keys=True, indent=2, separators=(',', ': ')))
|
136
|
136
|
f.write('\n')
|