Learn R Programming

shinydbauth (version 1.0.0.1)

custom-labels: Modify shinydbauth labels to use custom text

Description

See all labels registered with get_labels(), then set custom text with set_labels().

Usage

set_labels(language, ...)

get_labels(language = "en")

Value

get_labels() return a named list with all labels registered.

Arguments

language

Language to use for labels, supported values are : "en", "es".

...

A named list with labels to replace.

Examples

Run this code

# In global.R for example:
set_labels(
  language = "en",
  "Please authenticate" = "You have to login",
  "Username:" = "What's your name:",
  "Password:" = "Enter your password:"
)

Run the code above in your browser using DataLab