Standards/YaST2 Repository Metadata/packagesLang
From openSUSE
< Standards | YaST2 Repository Metadata(Redirected from Libzypp/Metadata/YaST/packagesLang)
Contents |
[edit]
packages.<lang> file
[edit]
Requirements
- Package
The package identifier (name'version'revision'architecture) - Summary
The package summary (aka 'Label'), a one-line description of the package - Description
The package description, a (possible) multi-line description of the package - Installation notify
An informal message to be shown to the user if the package is selected.
(i.e. a 'test version, don't use' warning or a commercial license. - Deletion notify
An informal message to be shown to the user if the package is de-selected.
(i.e. a 'your system will be unusable without this package' warning
[edit]
Implementation
In order to re-use existing code and infrastructure, the syntactic representation of the language file is identical to the [package-descr.html packages] file
File en
[edit]
Header keywords
The language file starts with a header defining the version.
| Keyword | Value | Comment |
|---|---|---|
| =Ver | 2.0 | The old (<lang>.pkd) format was 1.1, this one is 2.0 |
The old Encoding tag is not needed any more since all translation have to be UTF-8 encoded now.
[edit]
Package entry keywords
| Keyword | Value | Comment |
|---|---|---|
| =Pkg | name version release architecture | These four values identify a package unambiguously and are used as a key |
| =Sum | summary | one line summary (aka 'label') |
| +Des -Des | description | multi-line description |
| +Ins -Ins | installation notify | User notification when package is selected for installation |
| +Del -Del | deletion notify | User notification when package is selected for deletion |
| =Shr | name version release architecture | of another package. All values not explicitly set in the current package entry are shared with the mentioned package. |
[edit]
Example
=Pkg: 3ddiag 0.494 16 i586 =Sum: Tool zur Überprüfung der 3D/OpenGL Konfiguration +Des: Mit dem Tool '3Ddiag' können Sie Ihre 3D/OpenGL Konfiguration überprüfen. -Des:

