File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -467,6 +467,12 @@ const config = computed(() => {
467467 table: false ,
468468 tooltip: false ,
469469 },
470+ buttonTitles: {
471+ csv: $t (' package.downloads.download_file' , { fileType: ' CSV' }),
472+ img: $t (' package.downloads.download_file' , { fileType: ' PNG' }),
473+ pdf: $t (' package.downloads.download_file' , { fileType: ' PDF' }),
474+ annotator: $t (' package.downloads.toggle_annotator' ),
475+ },
470476 callbacks: {
471477 img : ({ imageUri }: { imageUri: string }) => {
472478 loadFile (
Original file line number Diff line number Diff line change 220220 "end_date" : " End" ,
221221 "no_data" : " No download data available" ,
222222 "loading" : " Loading..." ,
223- "y_axis_label" : " {granularity} downloads"
223+ "y_axis_label" : " {granularity} downloads" ,
224+ "download_file" : " Download {fileType}" ,
225+ "toggle_annotator" : " Toggle annotator"
224226 },
225227 "install_scripts" : {
226228 "title" : " Install Scripts" ,
Original file line number Diff line number Diff line change 179179 "end_date" : " Fin" ,
180180 "no_data" : " Aucune donnée de téléchargement disponible" ,
181181 "loading" : " Chargement..." ,
182- "y_axis_label" : " Téléchargements {granularity}"
182+ "y_axis_label" : " Téléchargements {granularity}" ,
183+ "download_file" : " Télécharger {fileType}" ,
184+ "toggle_annotator" : " Afficher/Masquer l'annotateur"
183185 },
184186 "install_scripts" : {
185187 "title" : " Scripts d'installation" ,
Original file line number Diff line number Diff line change 220220 "end_date" : " End" ,
221221 "no_data" : " No download data available" ,
222222 "loading" : " Loading..." ,
223- "y_axis_label" : " {granularity} downloads"
223+ "y_axis_label" : " {granularity} downloads" ,
224+ "download_file" : " Download {fileType}" ,
225+ "toggle_annotator" : " Toggle annotator"
224226 },
225227 "install_scripts" : {
226228 "title" : " Install Scripts" ,
Original file line number Diff line number Diff line change 179179 "end_date" : " Fin" ,
180180 "no_data" : " Aucune donnée de téléchargement disponible" ,
181181 "loading" : " Chargement..." ,
182- "y_axis_label" : " Téléchargements {granularity}"
182+ "y_axis_label" : " Téléchargements {granularity}" ,
183+ "download_file" : " Télécharger {fileType}" ,
184+ "toggle_annotator" : " Afficher/Masquer l'annotateur"
183185 },
184186 "install_scripts" : {
185187 "title" : " Scripts d'installation" ,
You can’t perform that action at this time.
0 commit comments