Skip to content

Commit

Permalink
Minor edits to text
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumble1 committed Feb 8, 2022
1 parent e2b7f42 commit 8698f76
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 2 additions & 3 deletions app.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,15 @@ server <- function(input, output, session) {


observeEvent(input$selected_language, {
# This print is just for demonstration
print(paste("Language change!", input$selected_language))
# Here is where we update language in session
shiny.i18n::update_lang(session, input$selected_language)
})

output$downloader<-renderText(

HTML(paste(i18n$t('Download Blank Excel Template File:'),
'<a href="https://github.com/stats4sd/DayCentSchedule/raw/main/scheduleFile_template.xlsx">Here</a><br><br>'))
'<a href="https://github.com/stats4sd/DayCentSchedule/raw/main/scheduleFile_template.xlsx">',
i18n$t("Here"),'</a><br><br>'))

)
observeEvent(input$file1,{
Expand Down
Binary file modified scheduleFile_template.xlsx
Binary file not shown.
7 changes: 4 additions & 3 deletions translation/translation_es.csv
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
en,es
Create DayCent Scheduler File From Input,Creacion del archivo con la plantilla de programacion para DayCent
Upload Completed Excel Schedule Template,Subir la plantilla completada con la programacion
Include header/footer in schedule?,Incluir encabezamiento/pie de pagina en la programacion?
Include header/footer in schedule?,Incluir encabezamiento/pie de pagina en el fichero de programacion?
View Schedule,Ver programacion
View Inputs,Ver entradas
Download Blank Excel Template File:,Descargar el archivo Excel con la plantilla vacia
Download Blank Excel Template File:,Descargar el archivo Excel con la plantilla vacia
WARNING,ATENCION
code(s) specified in lookup list that were not found in the global dictionary,Algun codigo especificado en la lista de busqueda no ha sido encontrado en el diccionario global
code(s) specified in lookup list that were not found in the global dictionary,Algun codigo especificado en la lista de busqueda no ha sido encontrado en el diccionario global de codigos
These are:,Estas son:
"Schedule file has been created with these codes still included. Please check codes, and correct them if needed.","El fichero con la programacion ha sido creado y todavia incluye esos codigos. Por favor, chequee los codigos y si es necesario, corrijalos "
Enter Output File Name,Entrar el Nombre del fichero de salida
Download Daycent Schedule File,Descargar el archivo DayCent de programacion
Language,Idioma
Here,Aqui

0 comments on commit 8698f76

Please sign in to comment.