mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
hyphen: add Russian dictionary, update readmeFileName values (#395142)
This commit is contained in:
commit
fee8e7c4a6
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