File tree Expand file tree Collapse file tree
public/Terminaux/Writer/CyclicWriters/Simple Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727using Terminaux . Writer . CyclicWriters . Renderer . Markup ;
2828using Terminaux . Writer . CyclicWriters . Renderer . Tools ;
2929using Textify . General ;
30+ using Terminaux . Base ;
3031
3132namespace Terminaux . Writer . CyclicWriters . Simple
3233{
@@ -287,8 +288,10 @@ public override string Render()
287288 progressMarquee . UseColors = UseColors ;
288289 progressMarquee . ForegroundColor = ProgressTextColor ;
289290 progressMarquee . BackgroundColor = ProgressBackgroundColor ;
290- if ( string . IsNullOrEmpty ( progressMarquee . text ) )
291- progressMarquee . text = "Please wait while the current operation is being processed..." ;
291+
292+ // TODO: T_WRITER_CYCLICWRITERS_SIMPLE_PROGRESSBAR_GENERIC -> Please wait while the current operation is being processed...
293+ if ( string . IsNullOrEmpty ( Text ) )
294+ progressMarquee . text = LanguageTools . GetLocalized ( "T_WRITER_CYCLICWRITERS_SIMPLE_PROGRESSBAR_GENERIC" ) ;
292295 string marqueeText = progressMarquee . Render ( ) ;
293296 int marqueeWidth = ConsoleChar . EstimateCellWidth ( marqueeText ) ;
294297 int spaces = Width - ( spinnerWidth + progressWidth + percentageWidth + marqueeWidth ) ;
You can’t perform that action at this time.
0 commit comments