Skip to content
Snippets Groups Projects
Commit 03ea870c authored by uhensler's avatar uhensler
Browse files

no-jira: Wording

parent cf00c23b
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,6 @@ course.deleted.title=Der Kurs wurde gel\u00F6scht.
course.disposed.command.restart=Kurs schliessen und neustarten
course.disposed.message=Bitte schliessen Sie den Kurs und rufen Sie ihn erneut auf.
course.disposed.title=Der Kurs wurde ver\u00E4ndert.
course.load.time=[ms]
course.times.loaded=Aufrufe
course.title=Titel
current.active.user=Aktiv
......
......@@ -82,6 +82,10 @@ public class AppointmentsPeekViewController extends BasicController {
if (appointment != null) {
mainVC.contextPut("appointment", appointment);
} else {
String role = getTranslatedRole(userCourseEnv);
String noAppointments = translate("no.upcomming.appointments", new String[] { role } );
mainVC.contextPut("noAppointments", noAppointments);
}
putInitialPanel(mainVC);
......@@ -202,6 +206,18 @@ public class AppointmentsPeekViewController extends BasicController {
wrapper.setStatusCSS("o_ap_status_" + appointment.getStatus().name());
}
private String getTranslatedRole(UserCourseEnvironment userCourseEnv) {
String i18nKey;
if (userCourseEnv.isAdmin()) {
i18nKey = "no.upcomming.appointments.owner";
} else if (userCourseEnv.isCoach()) {
i18nKey = "no.upcomming.appointments.coach";
} else {
i18nKey = "no.upcomming.appointments.participant";
}
return translate(i18nKey);
}
@Override
protected void event(UserRequest ureq, Component source, Event event) {
//
......
......@@ -64,6 +64,6 @@
</div>
#else
<div class="o_info">
$r.translate("no.outstanding.appointments")
$noAppointments
</div>
#end
\ No newline at end of file
config.edit.appointment=Termine bearbeiten
config.edit.topic=Thema bearbeiten
pane.tab.config=Konfiguration
no.outstanding.appointments=Sie haben keine bevorstehenden Termine.
no.upcomming.appointments=Als {0} haben Sie sich in keine Termine eingetragen.
no.upcomming.appointments.coach=Betreuer
no.upcomming.appointments.owner=Besitzer
no.upcomming.appointments.participant=Teilnehmer
role.coach=Betreuer
title.appointment=Terminplanung
user.rights=Benutzerberechtigungen
config.edit.appointment=Edit appointments
config.edit.topic=Edit topic
pane.tab.config=Configuration
no.outstanding.appointments=You have no upcoming appointments.
no.upcomming.appointments=As {0} you have not selected any appointment.
no.upcomming.appointments.coach=coach
no.upcomming.appointments.owner=owner
no.upcomming.appointments.participant=participant
role.coach=Coach
title.appointment=Appointment scheduling
user.rights=User rights
#Tue Jul 07 19:09:50 CEST 2020
condition.accessibility.title=Acc\u00E8s
config.edit.appointment=\u00C9diter les rendez-vous
config.edit.topic=\u00C9diter le th\u00E8me
no.outstanding.appointments=Vous n'avez aucun rendez-vous \u00E0 venir.
pane.tab.accessibility=Acc\u00E8s
condition.accessibility.title=Acc\u00e8s
config.edit.appointment=\u00c9diter les rendez-vous
config.edit.topic=\u00c9diter le th\u00e8me
pane.tab.accessibility=Acc\u00e8s
pane.tab.config=Configuration
role.coach=Coach
title.appointment=Planification
......
#Wed Sep 02 16:51:10 CEST 2020
config.edit.appointment=Modificare appuntamenti
config.edit.topic=Modificare argomento
no.outstanding.appointments=Non ha prossimi appuntamenti imminenti.
pane.tab.config=Configurazione
role.coach=Coach
title.appointment=Fissare un appuntamento
......
#Fri Sep 25 19:43:07 CEST 2020
config.edit.appointment=Editar compromissos
config.edit.topic=Editar t\u00F3pico
no.outstanding.appointments=Voc\u00EA n\u00E3o tem compromissos futuros.
pane.tab.config=Configura\u00E7\u00E3o
config.edit.topic=Editar t\u00f3pico
pane.tab.config=Configura\u00e7\u00e3o
role.coach=Treinador
title.appointment=Agendamento de compromissos
user.rights=Direitos do usu\u00E1rio
user.rights=Direitos do usu\u00e1rio
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment