mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
hyphen: add Russian dictionary, update readmeFileName values
For some reason README file for Russian has different naming upstream, therefore `readmeFileName` for all languages was changed to accommodate both naming schemes.
This commit is contained in:
parent
7a1edc2396
commit
60a907b76a
1 changed files with 15 additions and 4 deletions
|
@ -44,7 +44,7 @@ let
|
|||
install -m644 "hyph_${dictFileName}.dic" "$out/share/hyphen"
|
||||
# docs
|
||||
install -dm755 "$out/share/doc/"
|
||||
install -m644 "README_hyph_${readmeFileName}.txt" "$out/share/doc/${pname}.txt"
|
||||
install -m644 "README_${readmeFileName}.txt" "$out/share/doc/${pname}.txt"
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
|
@ -84,7 +84,7 @@ rec {
|
|||
shortName = "de-de";
|
||||
shortDescription = "German (Germany)";
|
||||
dictFileName = "de_DE";
|
||||
readmeFileName = "de";
|
||||
readmeFileName = "hyph_de";
|
||||
};
|
||||
|
||||
de_AT = de-at;
|
||||
|
@ -93,7 +93,7 @@ rec {
|
|||
shortName = "de-at";
|
||||
shortDescription = "German (Austria)";
|
||||
dictFileName = "de_AT";
|
||||
readmeFileName = "de";
|
||||
readmeFileName = "hyph_de";
|
||||
};
|
||||
|
||||
de_CH = de-ch;
|
||||
|
@ -102,6 +102,17 @@ rec {
|
|||
shortName = "de-ch";
|
||||
shortDescription = "German (Switzerland)";
|
||||
dictFileName = "de_CH";
|
||||
readmeFileName = "de";
|
||||
readmeFileName = "hyph_de";
|
||||
};
|
||||
|
||||
# RUSSIAN
|
||||
|
||||
ru_RU = ru-ru;
|
||||
ru-ru = mkDictFromLibreofficeGit {
|
||||
subdir = "ru_RU";
|
||||
shortName = "ru-ru";
|
||||
shortDescription = "Russian (Russia)";
|
||||
dictFileName = "ru_RU";
|
||||
readmeFileName = "ru_RU";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue