File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
system/modules/sharebuttons Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -396,6 +396,12 @@ public function getNetworks(DataContainer $dc)
396396 unset($ networks ['pdf ' ]);
397397 }
398398
399+ foreach ($ networks as $ network => &$ label ) {
400+ if (!empty ($ GLOBALS ['TL_LANG ' ]['sharebuttons ' ]['networks ' ][$ network ])) {
401+ $ label = $ GLOBALS ['TL_LANG ' ]['sharebuttons ' ]['networks ' ][$ network ];
402+ }
403+ }
404+
399405 return $ networks ;
400406 }
401407
Original file line number Diff line number Diff line change 5555 'reddit ' => 'Reddit ' ,
5656 'whatsapp ' => 'WhatsApp ' ,
5757 'print ' => 'Print ' ,
58- 'pdf ' => 'Pdf '
58+ 'pdf ' => 'PDF '
5959);
6060
6161$ GLOBALS ['sharebuttons ' ]['themes ' ] = array (
Original file line number Diff line number Diff line change 4242$ GLOBALS ['TL_LANG ' ]['CTE ' ]['sharebuttons ' ] = array ('Share buttons ' , 'Buttons zum teilen von Seitenlinks auf sozialen Netzwerken. ' );
4343$ GLOBALS ['TL_LANG ' ]['FMD ' ]['sharebuttons ' ] = $ GLOBALS ['TL_LANG ' ]['CTE ' ]['sharebuttons ' ];
4444
45- $ GLOBALS ['sharebuttons ' ]['networks ' ]['print ' ] = 'Drucken ' ;
46- $ GLOBALS ['sharebuttons ' ]['networks ' ]['pdf ' ] = 'PDF erzeugen ' ;
45+ $ GLOBALS ['TL_LANG ' ][ ' sharebuttons ' ]['networks ' ]['print ' ] = 'Drucken ' ;
46+ $ GLOBALS ['TL_LANG ' ][ ' sharebuttons ' ]['networks ' ]['pdf ' ] = 'PDF erzeugen ' ;
Original file line number Diff line number Diff line change 4242$ GLOBALS ['TL_LANG ' ]['CTE ' ]['sharebuttons ' ] = array ('Share buttons ' , 'Social share buttons with optional theme. ' );
4343$ GLOBALS ['TL_LANG ' ]['FMD ' ]['sharebuttons ' ] = $ GLOBALS ['TL_LANG ' ]['CTE ' ]['sharebuttons ' ];
4444
45- $ GLOBALS ['sharebuttons ' ]['networks ' ]['pdf ' ] = 'create PDF ' ;
45+ $ GLOBALS ['TL_LANG ' ][ ' sharebuttons ' ]['networks ' ]['pdf ' ] = 'create PDF ' ;
You can’t perform that action at this time.
0 commit comments