Grammalecte  Check-in [344818a65d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[fr][lo] nouvelles couleurs pour LibreOffice
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | fr | lo
Files: files | file ages | folders
SHA3-256:344818a65d886c46a2c62f4de300238d959dac05fe828fe67587d254bec25584
User & Date: olr 2019-02-24 08:50:51
Context
2019-02-24
10:06
[fr] faux positifs check-in: 28fc480186 user: olr tags: fr, trunk
08:50
[fr][lo] nouvelles couleurs pour LibreOffice check-in: 344818a65d user: olr tags: fr, lo, trunk
2019-02-23
07:58
[build] Firefox Nightly has a new folder and no need for a specific profile check-in: 58a64cf90a user: olr tags: build, trunk
Changes

Changes to compile_rules.py.

   431    431           elif sLine.startswith("OPTCOLORTHEME:"):
   432    432               lOptColor = [ [s, {}]  for s in sLine[14:].strip().split() ]  # don’t use tuples (s, {}), because unknown to JS
   433    433           elif sLine.startswith("OPTCOLOR/"):
   434    434               m = re.match("OPTCOLOR/([a-z0-9]+):(.+)$", sLine)
   435    435               for i, sColor in enumerate(m.group(2).split()):
   436    436                   lOptColor[i][1][m.group(1)] = sColor
   437    437           elif sLine.startswith("COLOR/"):
   438         -            m = re.match("COLOR/([a-z0-9]+):(.+)$", sLine)
          438  +            m = re.match("COLOR/([a-zA-Z0-9_]+):(.+)$", sLine)
   439    439               dColor[m.group(1)] = [ int(s) for s in m.group(2).strip().split(",") ]
   440    440           elif sLine.startswith("OPTPRIORITY/"):
   441    441               m = re.match("OPTPRIORITY/([a-z0-9]+): *([0-9])$", sLine)
   442    442               dOptPriority[m.group(1)] = int(m.group(2))
   443    443           elif sLine.startswith("OPTLANG/"):
   444    444               m = re.match("OPTLANG/([a-z][a-z](?:_[A-Z][A-Z]|)):(.+)$", sLine)
   445    445               sLang = m.group(1)[:2]

Changes to gc_lang/fr/rules.grx.

   103    103   OPTPRIORITY/conf:   5
   104    104   OPTPRIORITY/ocr:    3
   105    105   
   106    106   # COLORS are must be described with the HSL format (0-360, 0-100 %, 0-100 %) [don’t write the sign %]
   107    107   COLOR/orange:       30,70,50
   108    108   COLOR/orange2:      40,90,50
   109    109   COLOR/violet:       270,45,35
   110         -COLOR/blue:         210,50,50
          110  +COLOR/bleu:         210,50,50
   111    111   COLOR/fuschia:      300,30,40
   112    112   COLOR/cyan:         180,50,40
   113    113   COLOR/grey:         0,50,50
          114  +COLOR/orange_vif:   30,100,40
          115  +COLOR/orange2_vif:  50,100,40
          116  +COLOR/violet_vif:   270,100,40
          117  +COLOR/bleu_vif:     210,100,30
          118  +COLOR/vert_vif:     120,100,30
          119  +COLOR/cyan_vif:     180,100,40
   114    120   
   115    121   OPTCOLORTHEME:      Default     Writer
   116         -OPTCOLOR/typo:      orange      orange
   117         -OPTCOLOR/apos:      orange2     orange2
   118         -OPTCOLOR/esp:       orange      orange
   119         -OPTCOLOR/tab:       orange      orange
   120         -OPTCOLOR/nbsp:      orange      orange
   121         -OPTCOLOR/tu:        orange      orange
   122         -OPTCOLOR/maj:       orange      orange
   123         -OPTCOLOR/num:       orange      orange
   124         -OPTCOLOR/virg:      orange      orange
   125         -OPTCOLOR/poncfin:   orange      orange
   126         -OPTCOLOR/unit:      orange      orange
   127         -OPTCOLOR/nf:        orange      orange
   128         -OPTCOLOR/liga:      orange      orange
   129         -OPTCOLOR/mapos:     orange      orange
   130         -OPTCOLOR/chim:      orange      orange
   131         -OPTCOLOR/ocr:       violet      violet
   132         -OPTCOLOR/conf:      violet      violet
   133         -OPTCOLOR/sgpl:      blue        blue
   134         -OPTCOLOR/gn:        blue        blue
   135         -OPTCOLOR/infi:      fuschia     fuschia
   136         -OPTCOLOR/conj:      fuschia     fuschia
   137         -OPTCOLOR/ppas:      fuschia     fuschia
   138         -OPTCOLOR/imp:       fuschia     fuschia
   139         -OPTCOLOR/inte:      fuschia     fuschia
   140         -OPTCOLOR/vmode:     fuschia     fuschia
   141         -OPTCOLOR/bs:        cyan        cyan
   142         -OPTCOLOR/pleo:      cyan        cyan
   143         -OPTCOLOR/redon1:    cyan        cyan
   144         -OPTCOLOR/redon2:    cyan        cyan
   145         -OPTCOLOR/neg:       cyan        cyan
   146         -OPTCOLOR/date:      cyan        cyan
   147         -OPTCOLOR/mc:        cyan        cyan
          122  +OPTCOLOR/typo:      orange      orange_vif
          123  +OPTCOLOR/apos:      orange2     orange2_vif
          124  +OPTCOLOR/esp:       orange      orange_vif
          125  +OPTCOLOR/tab:       orange      orange_vif
          126  +OPTCOLOR/nbsp:      orange      orange_vif
          127  +OPTCOLOR/tu:        orange      orange_vif
          128  +OPTCOLOR/maj:       orange      orange_vif
          129  +OPTCOLOR/num:       orange      orange_vif
          130  +OPTCOLOR/virg:      orange      orange_vif
          131  +OPTCOLOR/poncfin:   orange      orange_vif
          132  +OPTCOLOR/unit:      orange      orange_vif
          133  +OPTCOLOR/nf:        orange      orange_vif
          134  +OPTCOLOR/liga:      orange      orange_vif
          135  +OPTCOLOR/mapos:     orange      orange_vif
          136  +OPTCOLOR/chim:      orange      orange_vif
          137  +OPTCOLOR/ocr:       violet      violet_vif
          138  +OPTCOLOR/conf:      violet      violet_vif
          139  +OPTCOLOR/sgpl:      bleu        bleu_vif
          140  +OPTCOLOR/gn:        bleu        bleu_vif
          141  +OPTCOLOR/infi:      fuschia     vert_vif
          142  +OPTCOLOR/conj:      fuschia     vert_vif
          143  +OPTCOLOR/ppas:      fuschia     vert_vif
          144  +OPTCOLOR/imp:       fuschia     vert_vif
          145  +OPTCOLOR/inte:      fuschia     vert_vif
          146  +OPTCOLOR/vmode:     fuschia     vert_vif
          147  +OPTCOLOR/bs:        cyan        cyan_vif
          148  +OPTCOLOR/pleo:      cyan        cyan_vif
          149  +OPTCOLOR/redon1:    cyan        cyan_vif
          150  +OPTCOLOR/redon2:    cyan        cyan_vif
          151  +OPTCOLOR/neg:       cyan        cyan_vif
          152  +OPTCOLOR/date:      cyan        cyan_vif
          153  +OPTCOLOR/mc:        cyan        cyan_vif
   148    154   
   149    155   
   150    156   OPTDEFAULTUILANG: fr_FR
   151    157   
   152    158   # Labels
   153    159   OPTLANG/fr_FR:      Grammalecte (Français)
   154    160   OPTLABEL/basic:     Typographie