diff options
| author | Mateus Felipe C. C. Pinto <mateusfccp@gmail.com> | 2023-04-03 07:59:13 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-03 12:59:13 +0200 |
| commit | 2dbbeaeb600e6c9ef6bbecfd67903f091ace9956 (patch) | |
| tree | bfbeb17c7c9c9476a0f1eaed1d92ca5909d168ae /library/src/layout/table.rs | |
| parent | 37eededc9d9a5ff1c0d5ccdd7a348268cfd40735 (diff) | |
Provide support for portuguese language (#525)
Diffstat (limited to 'library/src/layout/table.rs')
| -rw-r--r-- | library/src/layout/table.rs | 3 |
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", } |
