[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-10-18 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Jonathan Druart  changed:

   What|Removed |Added

 Status|Signed Off  |Failed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-09-16 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #40 from Jonathan Druart  ---
2 possible errors (I didn't test):

1. There is a mix of this.$__p and __p in "Add translation context to ERM data
providers status (active/inactive)"

2. [% SET optgroup_label = tp("Budget status", "{budget_description}
(Inactive)", {budget_description = budget_period.description}) %]

I think you need tpx here, tp takes only 2 parameters.

Note that "Bug 40743: Fix description of inactive budget" is going to conflict
with 2.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-08-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045
Bug 39045 depends on bug 39061, which changed state.

Bug 39061 Summary: Allow translation context in vue files
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39061

   What|Removed |Added

 Status|Needs documenting   |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Owen Leonard  changed:

   What|Removed |Added

 Status|Patch doesn't apply |Signed Off

--- Comment #39 from Owen Leonard  ---
(In reply to Lisette Scheer from comment #29)
> Moving the vendors into vue means this won't apply anymore as one of the
> patches is trying to update a file that no longer exists.

I've rebased and re-attached the patches without the vendors one

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #38 from Owen Leonard  ---
Created attachment 183716
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183716&action=edit
Bug 39045: (follow-up) Fix spacing

Adding some whitespace to the markup so that the "(inactive)" has a
space before it.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #37 from Owen Leonard  ---
Created attachment 183715
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183715&action=edit
Bug 39045: Add translation context to fund status (inactive)

This patch adds translation context to '(inactive)' when used for the
fund status in acquisitions.

To test:

1. Create an inactive budget and fund
   1.1. Go to Administration > Budgets
   1.2. Click 'New budget'
   1.3. Fill out the mandatory fields and the total amount, DO NOT
check the 'Make budget active' box
   1.4. Click 'Save'
   1.5. Click 'Inactive budgets'
   1.6. Next to the new budget, click 'Actions' > 'Add fund'
   1.7. Fill out the mandatory fields
   1.8. Click 'Submit'

2. Create a suggestion and link it to an inactive fund
   2.1. Go to Acquisitions > Suggestions
   2.2. Click 'New purchase suggestion'
   2.3. Fill out the title
   2.4. Under 'Acquisition information', check 'Show inactive'
   2.5. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   2.6. Choose the inactive fund
   2.7. Click 'Submit your suggestion'

3. Create an order from new file, link it to an inactive fund
   3.1. Go to Acquisitions
   3.2. Click 'Search' under 'Search vendors'
   3.3. Click 'Add to basket' next to 'My basket'
   3.4. Click 'From a new file'
   3.5. Choose a MARC file (I attached an example if necessary)
   3.6. Click 'Upload file'
   3.7. Click 'Stage for import'
   3.8. Click 'Add staged files to basket'
   3.9. Click 'Default accounting details'
   3.10. Check 'Show inactive' next to the fund dropdown
   3.11. Open the 'Fund' dropdown
 --> There should be your new fund with (inactive) next to it
   3.12. Choose the inactive fund
   3.13. Click 'Item information'
   3.14. Fill out the 'y - Koha item type' field
   3.15. Click 'Select to import'
   3.16. Check the 'Show inactive funds' box
   3.17. Check the box next to the record
   3.18. Open the 'Fund' dropdown
 --> There should be your new fund with (inactive) next to it
   3.19. Enter a price
   3.20. Click 'Save'

**Note: there are 5 occurrences of "(inactive)" in that page, but I only
  found those two...**

4. Create a duplicate order
   4.1. Click 'Add to basket'
   4.2. Click 'From existing orders (copy)'
   4.3. Search for the previous order
   4.4. Check the box next to the order
   4.5. Click 'Next ->'
   4.6. Check 'Show inactive' next to the fund dropdown
   4.7. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   4.8. Choose the inactive fund
   4.9. Click 'Duplicate orders'

5. Create an order from an empty record
   5.1. Click 'Add to basket'
   5.2. Click 'From a new (empty) record'
   5.3. Fill out catalog details (at least the title)
   5.4. Fill out the 'y - Koha item type' field
   5.5. Check 'Show inactive' next to the fund dropdown
   5.6. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   5.7. Choose the inactive fund
   5.8. Enter a vendor price
   5.9. Click 'Save'

6. Close the basket and receive the orders
   6.1. Click 'Close basket'
   6.2. Click 'Yes, close (Y)'
   6.3. Click 'Receive shipments'
   6.4. Enter a vendor invoice number
   6.5. Check 'Show inactive'
   6.6. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   6.7. Click 'Next'
   6.8. Click 'Receive' next to an order
   6.9. Check 'Show inactive'
   6.10. Open the 'Fund' dropdown
 --> There should be your budget with (Inactive) next to it
 --> There should be your new fund with (inactive) next to it
   6.11. Choose the inactive fund
   6.12. Check 'Receive?'
   6.13. Click 'Confirm'
   6.14. Click 'Finish receiving'
   6.15. Click 'Show inactive' next to 'Shipping fund'
 --> There should be your new fund with (inactive) next to it

7. View Orders by fund report
   7.1. Go to Reports > Orders by fund
   7.2. Check 'Show inactive'
   7.3. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it

8. Apply patch
9. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
10. View the fr-CA-messages.po file
--> There should be entries with 'Fund status' and one entry with
'Budget status' in msgctxt
11. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
12. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
13. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
14. Repeat steps 1-7
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/m

[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #36 from Owen Leonard  ---
Created attachment 183714
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183714&action=edit
Bug 39045: Add translation context to ERM data providers status
(active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when
used as the status of ERM data providers.

This patch needs the patch in bug 39061 in order to work properly.

To test:
1. Enable the ERMModule system preference
   1.1. Go to Administration > System preferences
   1.2. Search for ERMMdoule
   1.3. Choose 'Enable'
   1.4. Click 'Save all E-resource management preferences'
2. Go to E-resource management
3. Click 'Data providers'
4. Click 'New data provider'
   --> There should be a Harvester status field with Active and
   Inactive options
5. Click 'Create manually'
6. Fill out the mandatory fields
7. Click 'Submit'
   --> There should be a Status field with value 'Active'
8. Click 'Data providers"
   --> The status in the column should be 'Active'
9. Click 'Edit'
10. Change Harvester status to Inactive
11. Click 'Submit'
--> There should be a Status field with value 'Inactive'
12. Click 'Data providers"
   --> The status in the column should be 'Inactive'
13. Apply patch
14. Update translations
ktd --shell
gulp po:update --lang fr-CA
15. View the fr-CA-messages.po file
--> There should be entries with 'ERM data provider status' in
msgctxt
16. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
17. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
18. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
19. Repeat step 1-12
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #34 from Owen Leonard  ---
Created attachment 183712
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183712&action=edit
Bug 39045: Add translation context to 'Inactive' as report group

This patch adds translation context to the 'Inactive' heading in
reports, to differentiate it from an inactive status of something.

To test:
1. Go to Reports
   --> There should be an 'Inactive' section heading on the right
2. Click on one of the inactive reports
   --> There should be an 'Inactive' section heading in the left menu
3. Apply patch
4. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
5. View the fr-CA-messages.po file
   --> There should be an entry with 'Group of reports to get inactive
   patrons and items' in msgctxt
6. Optionally, translate the strings (remember to remove the fuzzy flag,
   if any)
7. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
8. Enable the new language in Administration > System preferences >
   StaffInterfaceLanguages
9. Repeat steps 1 and 2
   --> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #35 from Owen Leonard  ---
Created attachment 183713
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183713&action=edit
Bug 39045: Add translation context to API key active status

This patch adds translation context to 'Active' and 'Inactive' when
used as the status of an API key.

To test:
1. Enable the RESTOAuth2ClientCredentials system preference
   1.1. Go to Administration > System preferences
   1.2. Search for RESTOAuth2ClientCredentials
   1.3. Choose 'Enable'
   1.4. Click 'Save all Web services preferences'
2. Click your user name at the top right corner and choose 'My account'
3. Click 'More' > 'Manage API keys'
4. Click 'Generate a new client id/secret pair'
5. Enter a description
6. Click 'Save'
   --> There should be a column with the heading 'Active'
7. Apply patch
8. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
9. View the fr-CA-messages.po file
   --> There should be an entry with 'API client id/key pair status' in
   msgctxt
10. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
11. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
12. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
13. Repeat step 1-6
--> Translation should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #33 from Owen Leonard  ---
Created attachment 183711
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183711&action=edit
Bug 39045: Add translation context to stock rotation status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when
used as the status of stock rotation rota.

To test:
1. Enable the StockRotation system preference
   1.1. Go to Administration > System preferences
   1.2. Search for StockRotation
   1.3. Choose 'Enable'
   1.4. Click 'Save all Circulation preferences'
2. Go to Cataloging > Stock rotation
3. Click 'New rota'
4. Enter a name for the rota
5. Click 'Save'
   --> There should be a column with the heading 'Active'
6. Click 'Manage' > 'Stages'
7. Click 'Add a stage'
8. Enter a duration
9. Click 'Save'
10. Click 'Return to rotas'
11. Click 'Activate'
12. Click 'Manage' > 'Items'
13. Click 'Add items'
14. Enter a barcode (e.g. 301518)
15. Click 'Save'
16. Click the title of the item
17. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Active'
18. Go back to Cataloging > Stock rotation
19. Click 'Deactivate'
20. Click 'Manage' > 'Items'
21. Click the title of the item
22. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Inactive'
23. Apply patch
24. Update translations
ktd --shell
gulp po:update --lang fr-CA
25. View the fr-CA-messages.po file
--> There should be entries with 'Rota status' in msgctxt
26. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
27. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
28. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
29. Repeat step 1-17
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #32 from Owen Leonard  ---
Created attachment 183710
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183710&action=edit
Bug 39045: Add translation context to course status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when
used as the course status in course reserves.

To test:
1. Go to Course reserves
2. Click 'New course'
3. Fill out the mandatory fields
4. Click 'Save'
   --> In the course details, there should be a field Status 'Active'
5. Click 'Edit course'
6. Uncheck 'Enabled?'
7. Click 'Save'
   --> In the course details, there should be a field Status 'Inactive'
8. Apply patch
9. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
10. View the fr-CA-messages.po file
--> There should be entries with 'Course status' in msgctxt
11. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
12. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
koha-translate --update fr-CA --dev kohadev
13. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
14. Repeat step 1-7
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #31 from Owen Leonard  ---
Created attachment 183709
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183709&action=edit
Bug 39045: Add translation context to budget active status

This patch adds translation context to budget active status.

1. Go to Acquisitions
   --> In the table under 'All available funds', there should be a
   column with the heading 'Active'
2. Apply patch
3. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
4. View the fr-CA-messages.po file
   --> There should be an entry with 'Budget status' in msgctxt
5. Optionally, translate the strings (remember to remove the fuzzy flag,
   if any)
6. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
   koha-translate --update fr-CA --dev kohadev
7. Enable the new language in Administration > System preferences >
   StaffInterfaceLanguages
8. Repeat step 1
   --> Translation should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Owen Leonard  changed:

   What|Removed |Added

 Attachment #178900|0   |1
is obsolete||
 Attachment #178901|0   |1
is obsolete||
 Attachment #178902|0   |1
is obsolete||
 Attachment #178903|0   |1
is obsolete||
 Attachment #178904|0   |1
is obsolete||
 Attachment #178905|0   |1
is obsolete||
 Attachment #178906|0   |1
is obsolete||
 Attachment #178907|0   |1
is obsolete||
 Attachment #178908|0   |1
is obsolete||
 Attachment #178909|0   |1
is obsolete||

--- Comment #30 from Owen Leonard  ---
Created attachment 183708
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183708&action=edit
Bug 39045: Add translation context to currency active status

This patch adds translation context to the 'Active' status
for currencies.

To test:
1. Go to Administration > Currencies and exchange rates
   --> There should be a column with the heading 'Active'
2. Click 'Edit' next to one of the currencies
   --> There should be a field Active:
3. Apply patch
4. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
5. View the fr-CA-messages.po file
   --> There should be entries with 'Currency status' in msgctxt
6. Optionally, translate the strings (remember to remove the fuzzy
   flag, if any)
7. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
   koha-translate --update fr-CA --dev kohadev
8. Enable the new language in Administration > System preferences >
   StaffInterfaceLanguages
9. Repeat steps 1 and 2
   --> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-07-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Lisette Scheer  changed:

   What|Removed |Added

 Status|Signed Off  |Patch doesn't apply
 CC||[email protected]
   ||m

--- Comment #29 from Lisette Scheer  ---
Moving the vendors into vue means this won't apply anymore as one of the
patches is trying to update a file that no longer exists.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #20 from Owen Leonard  ---
Created attachment 178901
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178901&action=edit
Bug 39045: Add translation context to budget active status

This patch adds translation context to budget active status.

1. Go to Acquisitions
   --> In the table under 'All available funds', there should be a column with
the heading 'Active'
2. Apply patch
3. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
4. View the fr-CA-messages.po file
   --> There should be an entry with 'Budget status' in msgctxt
5. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
6. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
   koha-translate --update fr-CA --dev kohadev
7. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
8. Repeat step 1
   --> Translation should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #28 from Owen Leonard  ---
Created attachment 178909
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178909&action=edit
Bug 39045: (follow-up) Fix spacing

Adding some whitespace to the markup so that the "(inactive)" has a
space before it.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #27 from Owen Leonard  ---
Created attachment 178908
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178908&action=edit
Bug 39045: Add translation context to fund status (inactive)

This patch adds translation context to '(inactive)' when used for the fund
status in acquisitions.

To test:

1. Create an inactive budget and fund
   1.1. Go to Administration > Budgets
   1.2. Click 'New budget'
   1.3. Fill out the mandatory fields and the total amount, DO NOT check the
'Make budget active' box
   1.4. Click 'Save'
   1.5. Click 'Inactive budgets'
   1.6. Next to the new budget, click 'Actions' > 'Add fund'
   1.7. Fill out the mandatory fields
   1.8. Click 'Submit'

2. Create a suggestion and link it to an inactive fund
   2.1. Go to Acquisitions > Suggestions
   2.2. Click 'New purchase suggestion'
   2.3. Fill out the title
   2.4. Under 'Acquisition information', check 'Show inactive'
   2.5. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   2.6. Choose the inactive fund
   2.7. Click 'Submit your suggestion'

3. Create an order from new file, link it to an inactive fund
   3.1. Go to Acquisitions
   3.2. Click 'Search' under 'Search vendors'
   3.3. Click 'Add to basket' next to 'My basket'
   3.4. Click 'From a new file'
   3.5. Choose a MARC file (I attached an example if necessary)
   3.6. Click 'Upload file'
   3.7. Click 'Stage for import'
   3.8. Click 'Add staged files to basket'
   3.9. Click 'Default accounting details'
   3.10. Check 'Show inactive' next to the fund dropdown
   3.11. Open the 'Fund' dropdown
 --> There should be your new fund with (inactive) next to it
   3.12. Choose the inactive fund
   3.13. Click 'Item information'
   3.14. Fill out the 'y - Koha item type' field
   3.15. Click 'Select to import'
   3.16. Check the 'Show inactive funds' box
   3.17. Check the box next to the record
   3.18. Open the 'Fund' dropdown
 --> There should be your new fund with (inactive) next to it
   3.19. Enter a price
   3.20. Click 'Save'

**Note: there are 5 occurrences of "(inactive)" in that page, but I only found
those two...**

4. Create a duplicate order
   4.1. Click 'Add to basket'
   4.2. Click 'From existing orders (copy)'
   4.3. Search for the previous order
   4.4. Check the box next to the order
   4.5. Click 'Next ->'
   4.6. Check 'Show inactive' next to the fund dropdown
   4.7. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   4.8. Choose the inactive fund
   4.9. Click 'Duplicate orders'

5. Create an order from an empty record
   5.1. Click 'Add to basket'
   5.2. Click 'From a new (empty) record'
   5.3. Fill out catalog details (at least the title)
   5.4. Fill out the 'y - Koha item type' field
   5.5. Check 'Show inactive' next to the fund dropdown
   5.6. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   5.7. Choose the inactive fund
   5.8. Enter a vendor price
   5.9. Click 'Save'

6. Close the basket and receive the orders
   6.1. Click 'Close basket'
   6.2. Click 'Yes, close (Y)'
   6.3. Click 'Receive shipments'
   6.4. Enter a vendor invoice number
   6.5. Check 'Show inactive'
   6.6. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   6.7. Click 'Next'
   6.8. Click 'Receive' next to an order
   6.9. Check 'Show inactive'
   6.10. Open the 'Fund' dropdown
 --> There should be your budget with (Inactive) next to it
 --> There should be your new fund with (inactive) next to it
   6.11. Choose the inactive fund
   6.12. Check 'Receive?'
   6.13. Click 'Confirm'
   6.14. Click 'Finish receiving'
   6.15. Click 'Show inactive' next to 'Shipping fund'
 --> There should be your new fund with (inactive) next to it

7. View Orders by fund report
   7.1. Go to Reports > Orders by fund
   7.2. Check 'Show inactive'
   7.3. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it

8. Apply patch
9. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
10. View the fr-CA-messages.po file
--> There should be entries with 'Fund status' and one entry with 'Budget
status' in msgctxt
11. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
12. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
13. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
14. Repeat steps 1-7
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-b

[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #26 from Owen Leonard  ---
Created attachment 178907
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178907&action=edit
Bug 39045: Add translation context to ERM data providers status
(active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used as the
status of ERM data providers.

This patch needs the patch in bug 39061 in order to work properly.

To test:
1. Enable the ERMModule system preference
   1.1. Go to Administration > System preferences
   1.2. Search for ERMMdoule
   1.3. Choose 'Enable'
   1.4. Click 'Save all E-resource management preferences'
2. Go to E-resource management
3. Click 'Data providers'
4. Click 'New data provider'
   --> There should be a Harvester status field with Active and Inactive
options
5. Click 'Create manually'
6. Fill out the mandatory fields
7. Click 'Submit'
   --> There should be a Status field with value 'Active'
8. Click 'Data providers"
   --> The status in the column should be 'Active'
9. Click 'Edit'
10. Change Harvester status to Inactive
11. Click 'Submit'
--> There should be a Status field with value 'Inactive'
12. Click 'Data providers"
   --> The status in the column should be 'Inactive'
13. Apply patch
14. Update translations
ktd --shell
gulp po:update --lang fr-CA
15. View the fr-CA-messages.po file
--> There should be entries with 'ERM data provider status' in msgctxt
16. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
17. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
18. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
19. Repeat step 1-12
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #25 from Owen Leonard  ---
Created attachment 178906
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178906&action=edit
Bug 39045: Add translation context to API key active status

This patch adds translation context to 'Active' and 'Inactive' when used
as the status of an API key.

To test:
1. Enable the RESTOAuth2ClientCredentials system preference
   1.1. Go to Administration > System preferences
   1.2. Search for RESTOAuth2ClientCredentials
   1.3. Choose 'Enable'
   1.4. Click 'Save all Web services preferences'
2. Click your user name at the top right corner and choose 'My account'
3. Click 'More' > 'Manage API keys'
4. Click 'Generate a new client id/secret pair'
5. Enter a description
6. Click 'Save'
   --> There should be a column with the heading 'Active'
7. Apply patch
8. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
9. View the fr-CA-messages.po file
   --> There should be an entry with 'API client id/key pair status' in msgctxt
10. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
11. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
12. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
13. Repeat step 1-6
--> Translation should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #24 from Owen Leonard  ---
Created attachment 178905
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178905&action=edit
Bug 39045: Add translation context to 'Inactive' as report group

This patch adds translation context to the 'Inactive' heading in
reports, to differentiate it from an inactive status of something.

To test:
1. Go to Reports
   --> There should be an 'Inactive' section heading on the right
2. Click on one of the inactive reports
   --> There should be an 'Inactive' section heading in the left menu
3. Apply patch
4. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
5. View the fr-CA-messages.po file
   --> There should be an entry with 'Group of reports to get inactive patrons
and items' in msgctxt
6. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
7. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
8. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
9. Repeat steps 1 and 2
   --> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #23 from Owen Leonard  ---
Created attachment 178904
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178904&action=edit
Bug 39045: Add translation context to stock rotation status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used as the
status of stock rotation rota.

To test:
1. Enable the StockRotation system preference
   1.1. Go to Administration > System preferences
   1.2. Search for StockRotation
   1.3. Choose 'Enable'
   1.4. Click 'Save all Circulation preferences'
2. Go to Cataloging > Stock rotation
3. Click 'New rota'
4. Enter a name for the rota
5. Click 'Save'
   --> There should be a column with the heading 'Active'
6. Click 'Manage' > 'Stages'
7. Click 'Add a stage'
8. Enter a duration
9. Click 'Save'
10. Click 'Return to rotas'
11. Click 'Activate'
12. Click 'Manage' > 'Items'
13. Click 'Add items'
14. Enter a barcode (e.g. 301518)
15. Click 'Save'
16. Click the title of the item
17. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Active'
18. Go back to Cataloging > Stock rotation
19. Click 'Deactivate'
20. Click 'Manage' > 'Items'
21. Click the title of the item
22. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Inactive'
23. Apply patch
24. Update translations
ktd --shell
gulp po:update --lang fr-CA
25. View the fr-CA-messages.po file
--> There should be entries with 'Rota status' in msgctxt
26. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
27. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
28. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
29. Repeat step 1-17
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #22 from Owen Leonard  ---
Created attachment 178903
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178903&action=edit
Bug 39045: Add translation context to course status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used
as the course status in course reserves.

To test:
1. Go to Course reserves
2. Click 'New course'
3. Fill out the mandatory fields
4. Click 'Save'
   --> In the course details, there should be a field Status 'Active'
5. Click 'Edit course'
6. Uncheck 'Enabled?'
7. Click 'Save'
   --> In the course details, there should be a field Status 'Inactive'
8. Apply patch
9. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
10. View the fr-CA-messages.po file
--> There should be entries with 'Course status' in msgctxt
11. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
12. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
koha-translate --update fr-CA --dev kohadev
13. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
14. Repeat step 1-7
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #21 from Owen Leonard  ---
Created attachment 178902
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178902&action=edit
Bug 39045: Add translation context to vendor status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used
for the vendor status in acquisitions.

To test:
1. Go to Acquisitions
2. Click 'New vendor'
   --> At the bottom of the form, in the 'Ordering information' section, there
should be a choice Vendor is: Active Inactive
3. Enter a vendor name
4. Click 'Save'
5. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Active
6. Click 'Edit vendor'
7. Choose 'Inactive'
8. Click 'Save'
   --> Next to the vendor name, it should say '(inactive)'
9. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Inactive
10. Apply patch
11. Update translations
ktd --shell
gulp po:update --lang fr-CA
12. View the fr-CA-messages.po file
--> There should be entries with 'Vendor status' in msgctxt
13. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
14. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
koha-translate --update fr-CA --dev kohadev
15. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
16. Repeat steps 1-9
--> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Owen Leonard  changed:

   What|Removed |Added

 Attachment #177560|0   |1
is obsolete||
 Attachment #177561|0   |1
is obsolete||
 Attachment #177590|0   |1
is obsolete||
 Attachment #177591|0   |1
is obsolete||
 Attachment #177593|0   |1
is obsolete||
 Attachment #177595|0   |1
is obsolete||
 Attachment #177596|0   |1
is obsolete||
 Attachment #177601|0   |1
is obsolete||
 Attachment #177711|0   |1
is obsolete||

--- Comment #19 from Owen Leonard  ---
Created attachment 178900
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178900&action=edit
Bug 39045: Add translation context to currency active status

This patch adds translation context to the 'Active' status
for currencies.

To test:
1. Go to Administration > Currencies and exchange rates
   --> There should be a column with the heading 'Active'
2. Click 'Edit' next to one of the currencies
   --> There should be a field Active:
3. Apply patch
4. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
5. View the fr-CA-messages.po file
   --> There should be entries with 'Currency status' in msgctxt
6. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
7. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
   koha-translate --update fr-CA --dev kohadev
8. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
9. Repeat steps 1 and 2
   --> Translations should be whatever you put in the po file

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-03-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Owen Leonard  changed:

   What|Removed |Added

   Patch complexity|--- |Small patch
 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #18 from Caroline Cyr La Rose  ---
(In reply to Jonathan Druart from comment #15)
> What about this one?
> 
> +#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt:120
> +#, c-format
> +msgid "(inactive)"
> +msgstr "(inactif)"

I added a new patch with the (inactive) when used for the fund status

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #17 from Caroline Cyr La Rose  ---
Created attachment 177711
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177711&action=edit
Bug 39045: Add translation context to fund status (inactive)

This patch adds translation context to '(inactive)' when used for the fund
status in acquisitions.

To test:

1. Create an inactive budget and fund
   1.1. Go to Administration > Budgets
   1.2. Click 'New budget'
   1.3. Fill out the mandatory fields and the total amount, DO NOT check the
'Make budget active' box
   1.4. Click 'Save'
   1.5. Click 'Inactive budgets'
   1.6. Next to the new budget, click 'Actions' > 'Add fund'
   1.7. Fill out the mandatory fields
   1.8. Click 'Submit'

2. Create a suggestion and link it to an inactive fund
   2.1. Go to Acquisitions > Suggestions
   2.2. Click 'New purchase suggestion'
   2.3. Fill out the title
   2.4. Under 'Acquisition information', check 'Show inactive'
   2.5. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   2.6. Choose the inactive fund
   2.7. Click 'Submit your suggestion'

3. Create an order from new file, link it to an inactive fund
   3.1. Go to Acquisitions
   3.2. Click 'Search' under 'Search vendors'
   3.3. Click 'Add to basket' next to 'My basket'
   3.4. Click 'From a new file'
   3.5. Choose a MARC file (I attached an example if necessary)
   3.6. Click 'Upload file'
   3.7. Click 'Stage for import'
   3.8. Click 'Add staged files to basket'
   3.9. Click 'Default accounting details'
   3.10. Check 'Show inactive' next to the fund dropdown
   3.11. Open the 'Fund' dropdown
 --> There should be your new fund with (inactive) next to it
   3.12. Choose the inactive fund
   3.13. Click 'Item information'
   3.14. Fill out the 'y - Koha item type' field
   3.15. Click 'Select to import'
   3.16. Check the 'Show inactive funds' box
   3.17. Check the box next to the record
   3.18. Open the 'Fund' dropdown
 --> There should be your new fund with (inactive) next to it
   3.19. Enter a price
   3.20. Click 'Save'

**Note: there are 5 occurrences of "(inactive)" in that page, but I only found
those two...**

4. Create a duplicate order
   4.1. Click 'Add to basket'
   4.2. Click 'From existing orders (copy)'
   4.3. Search for the previous order
   4.4. Check the box next to the order
   4.5. Click 'Next ->'
   4.6. Check 'Show inactive' next to the fund dropdown
   4.7. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   4.8. Choose the inactive fund
   4.9. Click 'Duplicate orders'

5. Create an order from an empty record
   5.1. Click 'Add to basket'
   5.2. Click 'From a new (empty) record'
   5.3. Fill out catalog details (at least the title)
   5.4. Fill out the 'y - Koha item type' field
   5.5. Check 'Show inactive' next to the fund dropdown
   5.6. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   5.7. Choose the inactive fund
   5.8. Enter a vendor price
   5.9. Click 'Save'

6. Close the basket and receive the orders
   6.1. Click 'Close basket'
   6.2. Click 'Yes, close (Y)'
   6.3. Click 'Receive shipments'
   6.4. Enter a vendor invoice number
   6.5. Check 'Show inactive'
   6.6. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it
   6.7. Click 'Next'
   6.8. Click 'Receive' next to an order
   6.9. Check 'Show inactive'
   6.10. Open the 'Fund' dropdown
 --> There should be your budget with (Inactive) next to it
 --> There should be your new fund with (inactive) next to it
   6.11. Choose the inactive fund
   6.12. Check 'Receive?'
   6.13. Click 'Confirm'
   6.14. Click 'Finish receiving'
   6.15. Click 'Show inactive' next to 'Shipping fund'
 --> There should be your new fund with (inactive) next to it

7. View Orders by fund report
   7.1. Go to Reports > Orders by fund
   7.2. Check 'Show inactive'
   7.3. Open the 'Fund' dropdown
--> There should be your new fund with (inactive) next to it

8. Apply patch
9. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
10. View the fr-CA-messages.po file
--> There should be entries with 'Fund status' and one entry with 'Budget
status' in msgctxt
11. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
12. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
13. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
14. Repeat steps 1-7
--> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://w

[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #16 from Caroline Cyr La Rose  ---
(In reply to Jonathan Druart from comment #14)
> I think we should move the colons out of the strings, to avoid that the
> translation to appear twice. Unless you have a good argument against that?

I don't know if it qualifies as a "good" argument, but in French, typology
rules state that there must be a non-breaking space between the word and the
colon (e.g. "Active :"). If the colon was not in the string, I don't know how
we could do that.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #15 from Jonathan Druart  ---
What about this one?

+#: koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt:120
+#, c-format
+msgid "(inactive)"
+msgstr "(inactif)"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-10 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #14 from Jonathan Druart  ---
I think we should move the colons out of the strings, to avoid that the
translation to appear twice. Unless you have a good argument against that?

+#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt:161
+msgctxt "Currency status"
+msgid "Active: "
+msgstr ""

+#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt:241
+#, fuzzy
+msgctxt "Currency status"
+msgid "Active"
+msgstr "Actions"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #13 from Caroline Cyr La Rose  ---
I made a mistake in the ERM data providers test plan, the translations will be
in the fr-CA-messages-js.po file, not fr-CA-messages.po.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Caroline Cyr La Rose  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

--- Comment #12 from Caroline Cyr La Rose  ---
All the test plans in one comment

A. Currencies

1. Go to Administration > Currencies and exchange rates
   --> There should be a column with the heading 'Active'
2. Click 'Edit' next to one of the currencies
   --> There should be a field Active:
3. Apply patch
4. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
5. View the fr-CA-messages.po file
   --> There should be entries with 'Currency status' in msgctxt
6. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
7. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
8. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
9. Repeat steps 1 and 2
   --> Translations should be whatever you put in the po file

B. Budgets

1. Go to Acquisitions
   --> In the table under 'All available funds', there should be a column with
the heading 'Active'
2. Apply patch
3. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
4. View the fr-CA-messages.po file
   --> There should be an entry with 'Budget status' in msgctxt
5. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
6. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
7. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
8. Repeat step 1
   --> Translation should be whatever you put in the po file

C. Vendors

1. Go to Acquisitions
2. Click 'New vendor'
   --> At the bottom of the form, in the 'Ordering information' section, there
should be a choice Vendor is: Active Inactive
3. Enter a vendor name
4. Click 'Save'
5. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Active
6. Click 'Edit vendor'
7. Choose 'Inactive'
8. Click 'Save'
   --> Next to the vendor name, it should say '(inactive)'
9. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Inactive
10. Apply patch
11. Update translations
ktd --shell
gulp po:update --lang fr-CA
12. View the fr-CA-messages.po file
--> There should be entries with 'Vendor status' in msgctxt
13. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
14. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
koha-translate --update fr-CA --dev kohadev
15. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
16. Repeat steps 1-9
--> Translations should be whatever you put in the po file

D. Courses

1. Go to Course reserves
2. Click 'New course'
3. Fill out the mandatory fields
4. Click 'Save'
   --> In the course details, there should be a field Status 'Active'
5. Click 'Edit course'
6. Uncheck 'Enabled?'
7. Click 'Save'
   --> In the course details, there should be a field Status 'Inactive'
8. Apply patch
9. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
10. View the fr-CA-messages.po file
--> There should be entries with 'Course status' in msgctxt
11. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
12. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
13. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
14. Repeat step 1-7
--> Translations should be whatever you put in the po file

E. Stock rotation rotas

1. Enable the StockRotation system preference
   1.1. Go to Administration > System preferences
   1.2. Search for StockRotation
   1.3. Choose 'Enable'
   1.4. Click 'Save all Circulation preferences'
2. Go to Cataloging > Stock rotation
3. Click 'New rota'
4. Enter a name for the rota
5. Click 'Save'
   --> There should be a column with the heading 'Active'
6. Click 'Manage' > 'Stages'
7. Click 'Add a stage'
8. Enter a duration
9. Click 'Save'
10. Click 'Return to rotas'
11. Click 'Activate'
12. Click 'Manage' > 'Items'
13. Click 'Add items'
14. Enter a barcode (e.g. 301518)
15. Click 'Save'
16. Click the title of the item
17. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Active'
18. Go back to Cataloging > Stock rotation
19. Click 'Deactivate'
20. Click 'Manage' > 'Items'
21. Click the title of the item
22. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Inactive'
23. Apply patch
24. Update translations
ktd --shell
gulp po:update --lang fr-CA
25. View the fr-CA-messages.po file
--> There should be entries with 'Rota status' in msgct

[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #11 from Caroline Cyr La Rose  ---
I only have the booking statuses left, but I can't find out how to make them
appear. I can manage 'Pending' and 'Cancelled', but I can never get 'Active'.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #10 from Caroline Cyr La Rose  ---
Created attachment 177601
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177601&action=edit
Bug 39045: Add translation context to ERM data providers status
(active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used as the
status of ERM data providers.

This patch needs the patch in bug 39061 in order to work properly.

To test:
1. Enable the ERMModule system preference
   1.1. Go to Administration > System preferences
   1.2. Search for ERMMdoule
   1.3. Choose 'Enable'
   1.4. Click 'Save all E-resource management preferences'
2. Go to E-resource management
3. Click 'Data providers'
4. Click 'New data provider'
   --> There should be a Harvester status field with Active and Inactive
options
5. Click 'Create manually'
6. Fill out the mandatory fields
7. Click 'Submit'
   --> There should be a Status field with value 'Active'
8. Click 'Data providers"
   --> The status in the column should be 'Active'
9. Click 'Edit'
10. Change Harvester status to Inactive
11. Click 'Submit'
--> There should be a Status field with value 'Inactive'
12. Click 'Data providers"
   --> The status in the column should be 'Inactive'
13. Apply patch
14. Update translations
ktd --shell
gulp po:update --lang fr-CA
15. View the fr-CA-messages.po file
--> There should be entries with 'ERM data provider status' in msgctxt
16. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
17. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
18. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
19. Repeat step 1-12
--> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Caroline Cyr La Rose  changed:

   What|Removed |Added

 Depends on||39061


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39061
[Bug 39061] Allow translation context in vue files
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #9 from Caroline Cyr La Rose  ---
Created attachment 177596
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177596&action=edit
Bug 39045: Add translation context to API key active status

This patch adds translation context to 'Active' and 'Inactive' when used
as the status of an API key.

To test:
1. Enable the RESTOAuth2ClientCredentials system preference
   1.1. Go to Administration > System preferences
   1.2. Search for RESTOAuth2ClientCredentials
   1.3. Choose 'Enable'
   1.4. Click 'Save all Web services preferences'
2. Click your user name at the top right corner and choose 'My account'
3. Click 'More' > 'Manage API keys'
4. Click 'Generate a new client id/secret pair'
5. Enter a description
6. Click 'Save'
   --> There should be a column with the heading 'Active'
7. Apply patch
8. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
9. View the fr-CA-messages.po file
   --> There should be an entry with 'API client id/key pair status' in msgctxt
10. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
11. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
12. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
13. Repeat step 1-6
--> Translation should be whatever you put in the po file

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #8 from Caroline Cyr La Rose  ---
Created attachment 177595
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177595&action=edit
Bug 39045: Add translation context to 'Inactive' as report group

This patch adds translation context to the 'Inactive' heading in
reports, to differentiate it from an inactive status of something.

To test:
1. Go to Reports
   --> There should be an 'Inactive' section heading on the right
2. Click on one of the inactive reports
   --> There should be an 'Inactive' section heading in the left menu
3. Apply patch
4. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
5. View the fr-CA-messages.po file
   --> There should be an entry with 'Group of reports to get inactive patrons
and items' in msgctxt
6. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
7. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
8. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
9. Repeat steps 1 and 2
   --> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Caroline Cyr La Rose  changed:

   What|Removed |Added

 Attachment #177562|0   |1
is obsolete||

--- Comment #7 from Caroline Cyr La Rose  ---
Created attachment 177593
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177593&action=edit
Bug 39045: Add translation context to stock rotation status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used as the
status of stock rotation rota.

To test:
1. Enable the StockRotation system preference
   1.1. Go to Administration > System preferences
   1.2. Search for StockRotation
   1.3. Choose 'Enable'
   1.4. Click 'Save all Circulation preferences'
2. Go to Cataloging > Stock rotation
3. Click 'New rota'
4. Enter a name for the rota
5. Click 'Save'
   --> There should be a column with the heading 'Active'
6. Click 'Manage' > 'Stages'
7. Click 'Add a stage'
8. Enter a duration
9. Click 'Save'
10. Click 'Return to rotas'
11. Click 'Activate'
12. Click 'Manage' > 'Items'
13. Click 'Add items'
14. Enter a barcode (e.g. 301518)
15. Click 'Save'
16. Click the title of the item
17. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Active'
18. Go back to Cataloging > Stock rotation
19. Click 'Deactivate'
20. Click 'Manage' > 'Items'
21. Click the title of the item
22. Click 'Rota' (left menu)
   --> Under 'Rota status' it should say 'Inactive'
23. Apply patch
24. Update translations
ktd --shell
gulp po:update --lang fr-CA
25. View the fr-CA-messages.po file
--> There should be entries with 'Rota status' in msgctxt
26. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
27. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
28. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
29. Repeat step 1-17
--> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #6 from Caroline Cyr La Rose  ---
Created attachment 177591
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177591&action=edit
Bug 39045: Add translation context to course status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used
as the course status in course reserves.

To test:
1. Go to Course reserves
2. Click 'New course'
3. Fill out the mandatory fields
4. Click 'Save'
   --> In the course details, there should be a field Status 'Active'
5. Click 'Edit course'
6. Uncheck 'Enabled?'
7. Click 'Save'
   --> In the course details, there should be a field Status 'Inactive'
8. Apply patch
9. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
10. View the fr-CA-messages.po file
--> There should be entries with 'Course status' in msgctxt
11. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
12. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
koha-translate --update fr-CA --dev kohadev
13. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
14. Repeat step 1-7
--> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Caroline Cyr La Rose  changed:

   What|Removed |Added

 Attachment #177559|0   |1
is obsolete||

--- Comment #5 from Caroline Cyr La Rose  ---
Created attachment 177590
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177590&action=edit
Bug 39045: Add translation context to vendor status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used
for the vendor status in acquisitions.

To test:
1. Go to Acquisitions
2. Click 'New vendor'
   --> At the bottom of the form, in the 'Ordering information' section, there
should be a choice Vendor is: Active Inactive
3. Enter a vendor name
4. Click 'Save'
5. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Active
6. Click 'Edit vendor'
7. Choose 'Inactive'
8. Click 'Save'
   --> Next to the vendor name, it should say '(inactive)'
9. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Inactive
10. Apply patch
11. Update translations
ktd --shell
gulp po:update --lang fr-CA
12. View the fr-CA-messages.po file
--> There should be entries with 'Vendor status' in msgctxt
13. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
14. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
koha-translate --update fr-CA --dev kohadev
15. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
16. Repeat steps 1-9
--> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #2 from Caroline Cyr La Rose  ---
Created attachment 177560
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177560&action=edit
Bug 39045: Add translation context to currency active status

This patch adds translation context to the 'Active' status
for currencies.

To test:
1. Go to Administration > Currencies and exchange rates
   --> There should be a column with the heading 'Active'
2. Click 'Edit' next to one of the currencies
   --> There should be a field Active:
3. Apply patch
4. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
5. View the fr-CA-messages.po file
   --> There should be entries with 'Currency status' in msgctxt
6. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
7. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
   koha-translate --update fr-CA --dev kohadev
8. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
9. Repeat steps 1 and 2
   --> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

Caroline Cyr La Rose  changed:

   What|Removed |Added

   Assignee|[email protected] |caroline.cyr-la-rose@inlibr
   |ity.org |o.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #4 from Caroline Cyr La Rose  ---
Created attachment 177562
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177562&action=edit
Bug 39045: Add translation context to stock rotation active status

This patch adds translation context to the 'Active' status of stock
rotation.

To test:
1. Enable the StockRotation system preference
   1.1. Go to Administration > System preferences
   1.2. Search for StockRotation
   1.3. Choose 'Enable'
   1.4. Click 'Save all Circulation preferences'
2. Go to Cataloging > Stock rotation
3. Click 'New rota'
4. Enter a name for the rota
5. Click 'Save'
   --> There should be a column with the heading 'Active'
6. Click 'Manage' > 'Stages'
7. Click 'Add a stage'
8. Enter a duration
9. Click 'Save'
10. Click 'Return to rotas'
11. Click 'Activate'
12. Click 'Manage' > 'Items'
13. Click 'Add items'
14. Enter a barcode (e.g. 301518)
15. Click 'Save'
16. Click the title of the item
17. Click 'Rota' (left menu)
--> Under 'Rota status' it should say 'Active'
18. Apply patch
19. Update translations
ktd --shell
gulp po:update --lang fr-CA
20. View the fr-CA-messages.po file
--> There should be an entry with 'Rota status' in msgctxt
21. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
22. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
koha-translate --update fr-CA --dev kohadev
23. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
24. Repeat step 1-17
--> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #3 from Caroline Cyr La Rose  ---
Created attachment 177561
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177561&action=edit
Bug 39045: Add translation context to budget active status

This patch adds translation context to budget active status.

1. Go to Acquisitions
   --> In the table under 'All available funds', there should be a column with
the heading 'Active'
2. Apply patch
3. Update translations
   ktd --shell
   gulp po:update --lang fr-CA
4. View the fr-CA-messages.po file
   --> There should be an entry with 'Budget status' in msgctxt
5. Optionally, translate the strings (remember to remove the fuzzy flag, if
any)
6. Install new translations
   ktd --root --shell
   koha-translate --install fr-CA --dev kohadev
   koha-translate --update fr-CA --dev kohadev
7. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
8. Repeat step 1
   --> Translation should be whatever you put in the po file

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 39045] Add translation context for "Active" and "Inactive"

2025-02-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39045

--- Comment #1 from Caroline Cyr La Rose  ---
Created attachment 177559
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177559&action=edit
Bug 39045: Add translation context to vendor status (active/inactive)

This patch adds translation context to 'Active' and 'Inactive' when used
for the vendor status in acquisitions.

To test:
1. Go to Acquisitions
2. Click 'New vendor'
   --> At the bottom of the form, in the 'Ordering information' section, there
should be a choice Vendor is: Active Inactive
3. Enter a vendor name
4. Click 'Save'
5. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Active
6. Click 'Edit vendor'
7. Choose 'Inactive'
8. Click 'Save'
   --> Next to the vendor name, it should say '(inactive)'
9. Click the name of the vendor
   --> In the 'Ordering information' box (bottom left), there should be a
mention Vendor is: Inactive
10. Apply patch
11. Update translations
ktd --shell
gulp po:update --lang fr-CA
12. View the fr-CA-messages.po file
--> There should be entries with 'Vendor status' in msgctxt
13. Optionally, translate the strings (remember to remove the fuzzy
flag, if any)
14. Install new translations
ktd --root --shell
koha-translate --install fr-CA --dev kohadev
koha-translate --update fr-CA --dev kohadev
15. Enable the new language in Administration > System preferences >
StaffInterfaceLanguages
16. Repeat steps 1-9
--> Translations should be whatever you put in the po file

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/