Overview
| Comment: | [fr] warning about the oxt_identifier variable |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fr |
| Files: | files | file ages | folders |
| SHA3-256: |
3d1951a830e08d661573f809eaceb2d4 |
| User & Date: | olr on 2025-09-15 12:51:38 |
| Other Links: | manifest | tags |
Context
|
2025-09-15
| ||
| 13:37 | [fx][lo] update sponsors check-in: 85268063e2 user: olr tags: trunk, fx, lo | |
| 12:51 | [fr] warning about the oxt_identifier variable check-in: 3d1951a830 user: olr tags: trunk, fr | |
| 12:30 | [doc] update build instructions check-in: 7e1ff41466 user: olr tags: trunk, doc | |
Changes
Modified gc_core/py/oxt/helpers.py from [730b24becd] to [aefb73f35a].
| ︙ | ︙ | |||
83 84 85 86 87 88 89 |
xWindowSize.Height = xWindowSize.Height * 0.666
return xWindowSize
def getAbsolutePathOf (sPath=""):
xDefaultContext = uno.getComponentContext().ServiceManager.DefaultContext
xPackageInfoProvider = xDefaultContext.getValueByName("/singletons/com.sun.star.deployment.PackageInformationProvider")
| | | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
xWindowSize.Height = xWindowSize.Height * 0.666
return xWindowSize
def getAbsolutePathOf (sPath=""):
xDefaultContext = uno.getComponentContext().ServiceManager.DefaultContext
xPackageInfoProvider = xDefaultContext.getValueByName("/singletons/com.sun.star.deployment.PackageInformationProvider")
sFullPath = xPackageInfoProvider.getPackageLocation("${oxt_identifier}")
if sPath and not sPath.startswith("/"):
sPath = "/" + sPath
sFullPath = sFullPath[8:] + sPath
return os.path.abspath(sFullPath)
def getProductNameAndVersion ():
|
| ︙ | ︙ |
Modified gc_lang/fr/config.ini from [79c18e975b] to [5561a15929].
| ︙ | ︙ | |||
34 35 36 37 38 39 40 | dic_personal_description = Français - dictionnaire personnel # Finite state automaton compression: 1, 2 (experimental) or 3 (experimental) fsa_method = 1 # stemming method: S for suffixes only, A for prefixes and suffixes stemming_method = S # LibreOffice | < > > > > > > | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | dic_personal_description = Français - dictionnaire personnel # Finite state automaton compression: 1, 2 (experimental) or 3 (experimental) fsa_method = 1 # stemming method: S for suffixes only, A for prefixes and suffixes stemming_method = S # LibreOffice oxt_version = 7.7 oxt_identifier = French.linguistic.resources.from.Dicollecte.by.OlivierR # Warning! The oxt_identifier variable must be the same to the one used in LibreOffice for the # dictionary. If you want to change this identifier, you must first change it in LibreOffice, # then release a new version of your extension with this identifier. Dont forget to change the # <description.xml> file to update the minimal version of LibreOffice required for the extension # with the new oxt_identifier variable. oxt_update_info_URL = https://grammalecte.net/grammalecte/oxt/grammalecte.update.xml unopkg = C:/Program Files/LibreOffice/program/unopkg.com # Firefox fx_identifier = French-GC@grammalecte.net fx_name = Grammalecte [fr] win_fx_path = C:\Program Files\Mozilla Firefox\firefox.exe win_fx_dev_path = C:\Program Files\Firefox Developer Edition\firefox.exe win_fx_nightly_path = C:\Program Files\Firefox Nightly\firefox.exe |
| ︙ | ︙ |
Modified gc_lang/fr/oxt/About/About.py from [5220cb476a] to [fd38d3b9f3].
| ︙ | ︙ | |||
65 66 67 68 69 70 71 |
xFD3.Height = 12
xFD3.Weight = uno.getConstantByName("com.sun.star.awt.FontWeight.BOLD")
xFD3.Name = "Verdana"
# logo
xDefaultContext = self.ctx.ServiceManager.DefaultContext
xPackageInfoProvider = xDefaultContext.getValueByName("/singletons/com.sun.star.deployment.PackageInformationProvider")
| | | 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
xFD3.Height = 12
xFD3.Weight = uno.getConstantByName("com.sun.star.awt.FontWeight.BOLD")
xFD3.Name = "Verdana"
# logo
xDefaultContext = self.ctx.ServiceManager.DefaultContext
xPackageInfoProvider = xDefaultContext.getValueByName("/singletons/com.sun.star.deployment.PackageInformationProvider")
sExtPath = xPackageInfoProvider.getPackageLocation("${oxt_identifier}")
self._addWidget('imgMainLogo', 'ImageControl', 5, 5, 150, 80, ImageURL = sExtPath+"/img/logo120_text.png", Border = 0, ScaleMode = 1)
# Infos
self._addWidget('lblVersion', 'FixedText', 10, 90, nLblWidth, 10, Label = ui.get('version'), Align = 1, FontDescriptor = xFD2)
self._addWidget('lblLicence', 'FixedText', 10, 100, nLblWidth, 10, Label = ui.get('license'), Align = 1, FontDescriptor = xFD2)
self._addWidget('lblWebsite', 'FixedHyperlink', 10, 110, nLblWidth, 10, Label = ui.get('website'), Align = 1, \
URL="https://grammalecte.net/?from=grammalecte-lo", FontDescriptor = xFD1, TextColor = nURLcolor)
|
| ︙ | ︙ |