Skip to content

Commit d781d56

Browse files
committed
Release 1.2.0 (250404)
1 parent 8689039 commit d781d56

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

docs/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
=========
33

4-
1.2.0 (unreleased)
4+
1.2.0 (2025-04-04)
55
------------------
66

77
- #42 Fix cannot enter small decimals in breakpoint table

templates/update_translations.in

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,9 @@ DOMAIN=senaite.ast
7272
echo "Processing Domain $DOMAIN"
7373
# Flush the english .po files, other .po files won't be synced otherwise
7474
echo -n "" > $LOCALES/en/LC_MESSAGES/$DOMAIN.po
75-
# Re-scan the source code for new strings and create a temporary $DOMAIN-tmp.pot
76-
$I18N rebuild-pot --pot $LOCALES/$DOMAIN-tmp.pot --exclude "$EXCLUDE" --create $DOMAIN $SRC
77-
# Merge the manual translations of $DOMAIN-manual.pot into the temporary $DOMAIN-tmp.pot
78-
$I18N merge --pot $LOCALES/$DOMAIN-tmp.pot --merge $LOCALES/$DOMAIN-manual.pot
79-
# Overwrite the existing $DOMAIN.pot
80-
mv $LOCALES/$DOMAIN-tmp.pot $LOCALES/$DOMAIN.pot
81-
# Synchronize all .po files with the new $DOMAIN.pot
75+
# Scan the source code for new strings and create a .pot file
76+
$I18N rebuild-pot --pot $LOCALES/$DOMAIN.pot --exclude "build" --create $DOMAIN $SRC
77+
# Synchronize all .po files with the new .pot file
8278
$I18N sync --pot $LOCALES/$DOMAIN.pot $LOCALES/*/LC_MESSAGES/$DOMAIN.po
8379
echo "Processing Domain $DOMAIN [DONE]"
8480

templates/write_code_headers.py.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ SRC_DIR = '${buildout:directory}/src/senaite'
1313
YEAR_FROM = "2020"
1414
TEMPLATE = """# -*- coding: utf-8 -*-
1515
#
16-
# This file is part of SENAITE.AST.
16+
# This file is part of SENAITE.MICROORGANISM.
1717
#
18-
# SENAITE.AST is free software: you can redistribute it and/or modify it under
19-
# the terms of the GNU General Public License as published by the Free
18+
# SENAITE.MICROORGANISM is free software: you can redistribute it and/or modify
19+
# it under the terms of the GNU General Public License as published by the Free
2020
# Software Foundation, version 2.
2121
#
2222
# This program is distributed in the hope that it will be useful, but WITHOUT

0 commit comments

Comments
 (0)