# HG changeset patch # User Oleksandr Gavenko # Date 1457887434 -7200 # Node ID 05df277da4046bc832b68b11baf2e3a7d09ce4d5 # Parent 738da7eddaca9aaa31254ce33ce6fda9044ca395 Move section to more appropriate place. diff -r 738da7eddaca -r 05df277da404 www/HACKING.rst --- a/www/HACKING.rst Sun Mar 13 18:43:09 2016 +0200 +++ b/www/HACKING.rst Sun Mar 13 18:43:54 2016 +0200 @@ -37,6 +37,21 @@ https://sourceforge.net/p/gadict/code/ Sourceforge Allure interface (not primary, a mirror). +Dictionary file name convention +=============================== + +BNF form:: + + FILE ::= "gadict_" NAME ".gadict" + +``NAME`` may have form ``ISOCODE "-" ISOCODE``, like ``en-ru``, where +``ISOCODE`` is ISO 639-1 language (2 letter) code + +``NAME`` may be a dictionary abbreviation name. + +During dictionaries compilation and releases ``".gadict"`` suffix changed to +appropriated but base name should be preserved as ``"gadict_" NAME``. + C5 dictionary source file format ================================ @@ -61,21 +76,6 @@ other formats is not possible. * C5 have no markup for links neither for any other markups. -Dictionary file name convention -=============================== - -BNF form:: - - FILE ::= "gadict_" NAME ".gadict" - -``NAME`` may have form ``ISOCODE "-" ISOCODE``, like ``en-ru``, where -``ISOCODE`` is ISO 639-1 language (2 letter) code - -``NAME`` may be a dictionary abbreviation name. - -During dictionaries compilation and releases ``".gadict"`` suffix changed to -appropriated but base name should be preserved as ``"gadict_" NAME``. - TODO convention ===============