some org unit settings don't have i18n support

Bug #797809 reported by Joseph
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Won't Fix
Undecided
Unassigned

Bug Description

In Evergreen's trunk, the config.org_unit_setting_type(s):

 * circ.holds.behind_desk_pickup_supported
 * circ.holds.canceled.display_age
 * circ.holds.canceled.display_count
 * cat.marc_control_number_identifier
 * circ.holds.max_org_unit_target_loops
 * circ.holds.org_unit_target_weight
 * circ.user_merge.delete_addresses
 * circ.user_merge.delete_cards
 * circ.user_merge.deactivate_cards
 * circ.holds.uncancel.reset_request_time
 * circ.holds.target_holds_by_org_unit_weight

All don't use the oils_i18n_gettext() for labels or descriptions, it looks like when database patches got applied they somehow got missed.

Joseph (joehms22)
description: updated
Changed in evergreen:
status: New → Confirmed
swenyu duan (dsy88)
Changed in evergreen:
status: Confirmed → In Progress
Revision history for this message
swenyu duan (dsy88) wrote :

I modified the corresponding upgrade sql and tested it on debian. should i post it to the dev mail list?

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Swenyu,

No need to send an email to the dev list. All of the relevant people are emailed when a bug is updated, so they've seen that your patch has been submitted.

Thanks for the submission!

Jason

Revision history for this message
Dan Scott (denials) wrote :

Hi Swenyu:

One note - your "author" field in the patch shows as "root <email address hidden>". If you use the "git config user.name" and "git config user.email" commands per http://www.open-ils.org/dokuwiki/doku.php?id=dev:git, when you commit code and generate patches it will show your real user name and email address.

If you set those git configuration variables, then use "git commit --amend --reset-author", you'll be able to generate an updated patch accordingly.

Thanks very much for your patch!

Revision history for this message
swenyu duan (dsy88) wrote :

Hi Jason and Dan:

Thank you for your answers.I'm sorry for that. And I reset author part and upload it again. Look forward your check!

swenyu

swenyu duan (dsy88)
Changed in evergreen:
status: In Progress → Fix Committed
Revision history for this message
Thomas Berezansky (tsbere) wrote :

Fixing the status - Fix Committed hides from most of our lists and should only be applied when the changes have, in fact, been committed to the core repositories.

Changed in evergreen:
status: Fix Committed → In Progress
Revision history for this message
swenyu duan (dsy88) wrote :

sorry for that, i misunderstand the status meaning.

Revision history for this message
Jason Stephenson (jstephenson) wrote :

If I understand things correctly, this bug is ready for testing and integration, so I've added the pullrequest tag.

tags: added: pullrequest
Changed in evergreen:
status: In Progress → Confirmed
Revision history for this message
Pasi Kallinen (paxed) wrote :

Applying the patch to master fails.

Revision history for this message
Galen Charlton (gmc) wrote :

The patch can be made to apply by passing --ignore-whitespace to git-am.

However, there's no point in applying it -- the oils_i18n_gettext markers only matter in 950.data.seed-values.sql; build/i18n/Makefile does not specify extracting strings from any other SQL script. As far as the upgrade scripts are concerned, oils_i18n_gettext() is purely a no-op.

tags: removed: pullrequest
Changed in evergreen:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.