summaryrefslogtreecommitdiff
path: root/library/src/layout/table.rs
diff options
context:
space:
mode:
authorMateus Felipe C. C. Pinto <mateusfccp@gmail.com>2023-04-03 07:59:13 -0300
committerGitHub <noreply@github.com>2023-04-03 12:59:13 +0200
commit2dbbeaeb600e6c9ef6bbecfd67903f091ace9956 (patch)
treebfbeb17c7c9c9476a0f1eaed1d92ca5909d168ae /library/src/layout/table.rs
parent37eededc9d9a5ff1c0d5ccdd7a348268cfd40735 (diff)
Provide support for portuguese language (#525)
Diffstat (limited to 'library/src/layout/table.rs')
-rw-r--r--library/src/layout/table.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/src/layout/table.rs b/library/src/layout/table.rs
index e22ccff1..4ba8a56e 100644
--- a/library/src/layout/table.rs
+++ b/library/src/layout/table.rs
@@ -283,10 +283,11 @@ impl<T: Into<Value>> From<Celled<T>> for Value {
impl LocalName for TableElem {
fn local_name(&self, lang: Lang) -> &'static str {
match lang {
- Lang::FRENCH => "Tableau",
Lang::CHINESE => "表",
+ Lang::FRENCH => "Tableau",
Lang::GERMAN => "Tabelle",
Lang::ITALIAN => "Tabella",
+ Lang::PORTUGUESE => "Tabela",
Lang::RUSSIAN => "Таблица",
Lang::ENGLISH | _ => "Table",
}