@@ -267,14 +267,11 @@ def save(self):
267
267
choices = ["all" , "github_actions" ] + list (chapter_to_build_variants .keys ()),
268
268
)
269
269
parser .add_argument ("--force-download" , default = False , action = 'store_true' )
270
- parser .add_argument ("--translation" , default = False , action = 'store_true' )
270
+ parser .add_argument ("--disable- translation" , default = False , action = 'store_true' )
271
271
args = parser .parse_args ()
272
272
273
273
force_download = args .force_download
274
274
275
- # NOTE: For now, translation archive output is always enabled, as most of the time this script will be used for translators
276
- translation = args .translation
277
-
278
275
# Get chapter name from git tag if "github_actions" specified as the chapter
279
276
chapter_name = args .chapter
280
277
if chapter_name == "github_actions" :
@@ -285,13 +282,21 @@ def save(self):
285
282
)
286
283
exit (0 )
287
284
288
- # NOTE: For now, translation archive output is always enabled, as most of the time this script will be used for translators
285
+ # NOTE: For now, translation archive output is enabled by default , as most of the time this script will be used for translators
289
286
translation = True
290
287
288
+ if args .disable_translation :
289
+ translation = False
290
+
291
291
# Get a list of build variants (like 'onikakushi 5.2.2f1 win') depending on commmand line arguments
292
292
build_variants = get_build_variants (chapter_name )
293
293
build_variants_list = "\n - " .join ([b .get_build_command () for b in build_variants ])
294
- print (f"For chapter '{ chapter_name } ' building:\n - { build_variants_list } " )
294
+ print (f"-------- Build Started --------" )
295
+ print (f"Chapter: [{ chapter_name } ] | Translation Archive Output: [{ ('Enabled' if translation else 'Disabled' )} ]" )
296
+ print (f"Variants:" )
297
+ print (f" - { build_variants_list } " )
298
+ print (f"-------------------------------" )
299
+ print ()
295
300
296
301
# Install python dependencies
297
302
print ("Installing python dependencies" )
0 commit comments