Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Update text to use localization
Browse files Browse the repository at this point in the history
  • Loading branch information
clettenberg committed May 2, 2016
1 parent d96db10 commit a21a1ef
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 27 deletions.
4 changes: 2 additions & 2 deletions app/imaging/completed/completed-list-item/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
{{#if imaging.results}}
{{imaging.results}}
{{else}}
<span class="light-text">No Results</span>
<span class="light-text">{{t 'imaging.messages.no_results'}}</span>
{{/if}}
</td>
<td>
{{#if imaging.notes}}
{{imaging.notes}}
{{else}}
<span class="light-text">No Notes</span>
<span class="light-text">{{t 'imaging.messages.no_notes'}}</span>
{{/if}}
</td>
2 changes: 1 addition & 1 deletion app/imaging/index/requested-list-item/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{#if imaging.notes}}
{{imaging.notes}}
{{else}}
{{#link-to 'imaging.edit' imaging}} Add Notes {{/link-to}}
{{#link-to 'imaging.edit' imaging}} {{t 'imaging.links.add_notes'}} {{/link-to}}
{{/if}}
</td>

Expand Down
7 changes: 6 additions & 1 deletion app/locales/de/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ export default {
add_new_visit: '--Neuen Besuch hinzufügen--'
},
messages: {
no_completed: 'Keine erledigten Einträge gefunden.'
no_completed: 'Keine erledigten Einträge gefunden.',
no_notes: '',
no_results: ''
},
titles: {
completed_imaging: 'Erledigte Bildgebung',
Expand All @@ -198,6 +200,9 @@ export default {
completed_message: 'Die Anfrage zur Bildgebung wurde abgeschlossen.',
saved_title: 'Bildgebungs-Anfrage gespeichert',
saved_message: 'Die Anfrage zur Bildgebung wurde gespeichert.'
},
links: {
add_notes: ''
}
}
};
7 changes: 6 additions & 1 deletion app/locales/en/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ export default {
add_new_visit: '--Add New Visit--'
},
messages: {
no_completed: 'No completed items found.'
no_completed: 'No completed items found.',
no_notes: 'No Notes',
no_results: 'No Results'
},
titles: {
completed_imaging: 'Completed Imaging',
Expand All @@ -534,6 +536,9 @@ export default {
completed_message: 'The imaging request has been completed.',
saved_title: 'Imaging Request Saved',
saved_message: 'The imaging request has been saved.'
},
links: {
add_notes: 'Add Notes'
}
},
medication: {
Expand Down
9 changes: 7 additions & 2 deletions app/locales/fr/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@ export default {
add_new_visit: '--Ajouter une nouvelle visite--'
},
messages: {
no_completed: 'Aucun article traité retrouvé.'
no_completed: 'Aucun article traité retrouvé.',
no_notes: '',
no_results: ''
},
titles: {
completed_imaging: 'Imagerie traitée',
Expand All @@ -465,6 +467,9 @@ export default {
completed_message: 'La demande d\'imagerie a été traitée.',
saved_title: 'Demande d\'imagerie enregistrée',
saved_message: 'La demande d\'imagerie a été enregistrée.'
},
links: {
add_notes: ''
}
},
medication: {
Expand Down Expand Up @@ -584,4 +589,4 @@ export default {
note_label: 'Note'
}
}
};
};
39 changes: 21 additions & 18 deletions app/locales/pt-BR/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default {
id: 'Id',
sex: 'Sexo',
age: 'Idade'

},
messages: {
no_items_found: 'Nenhum item encontrado',
Expand All @@ -37,7 +36,6 @@ export default {
update: 'Atualizar',
ok: 'Ok'
},

login: {
messages: {
sign_in: 'inscreva-se',
Expand All @@ -59,25 +57,30 @@ export default {
page_title: 'Requisição de imagens',
section_title: 'Imagem',
buttons: {
new_button: '+ nova imagem'
},
new_button: '+ nova imagem'
},
labels: {
radiologist: 'Radiologista',
add_new_visit: '--Adicionar novo visitante--'
},
radiologist: 'Radiologista',
add_new_visit: '--Adicionar novo visitante--'
},
messages: {
no_completed: 'Nenhum item completo encontrado.'
},
no_completed: 'Nenhum item completo encontrado.',
no_notes: '',
no_results: ''
},
titles: {
completed_imaging: 'Imagem completa',
edit_title: 'Requisição de edição de imagem',
new_title: 'Nova requisição de imagem'
},
completed_imaging: 'Imagem completa',
edit_title: 'Requisição de edição de imagem',
new_title: 'Nova requisição de imagem'
},
alerts: {
completed_title: 'Requisição de imagem completa.',
completed_message: 'A requisição de imagem esta completa.',
saved_title: 'Requisição de imagem salva.',
saved_message: 'A requisição de imagem foi salva.'
}
completed_title: 'Requisição de imagem completa.',
completed_message: 'A requisição de imagem esta completa.',
saved_title: 'Requisição de imagem salva.',
saved_message: 'A requisição de imagem foi salva.'
},
links: {
add_notes: ''
}
}
};
7 changes: 6 additions & 1 deletion app/locales/ru/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export default {
add_new_visit: '--Добавить новый тип осмотра--'
},
messages: {
no_completed: 'Не найдено выполненых запросов.'
no_completed: 'Не найдено выполненых запросов.',
no_notes: '',
no_results: ''
},
titles: {
completed_imaging: 'Выполненые запросы',
Expand All @@ -77,6 +79,9 @@ export default {
completed_message: 'Запрос на визуализацию удовлетворён.',
saved_title: 'Запрос сохранён',
saved_message: 'Запрос на визуализацию сохранён.'
},
links: {
add_notes: ''
}
}
};
7 changes: 6 additions & 1 deletion app/locales/tr/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export default {
add_new_visit: '--Yeni Ziyaret Ekle--'
},
messages: {
no_completed: 'Tamamlanmayan öğe bulunamadı.'
no_completed: 'Tamamlanmayan öğe bulunamadı.',
no_notes: '',
no_results: ''
},
titles: {
completed_imaging: 'Görüntüleme Tamamlandı',
Expand All @@ -77,6 +79,9 @@ export default {
completed_message: 'Görüntüleme talebi başarıyla tamamlandı.',
saved_title: 'Görüntüleme Talebi Kaydedildi',
saved_message: 'Görüntüleme Talebi başarıyla kaydedildi.'
},
links: {
add_notes: ''
}
}
};

0 comments on commit a21a1ef

Please sign in to comment.