Standards/YaST2 Repository Metadata/packagesLang

From openSUSE

Contents

packages.<lang> file

Requirements

  1. Package
    The package identifier (name'version'revision'architecture)
  2. Summary
    The package summary (aka 'Label'), a one-line description of the package
  3. Description
    The package description, a (possible) multi-line description of the package
  4. 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.
  5. 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


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

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.

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.

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:
 


back ...