mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 11:51:39 +00:00
Update cheatsheets
This commit is contained in:
13
tldr/gettext
Normal file
13
tldr/gettext
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# gettext
|
||||
|
||||
> Get string translations.
|
||||
> More information: <https://www.gnu.org/software/gettext/manual/html_node/gettext-Invocation.html>.
|
||||
|
||||
- Get the translation of a string or output a default string if it doesn't exist:
|
||||
|
||||
`LANGUAGE={{locale}} gettext {{msgid}} {{default_value}}`
|
||||
Reference in New Issue
Block a user