From 17d39018b4eca3657220e1784bdb2401abe356bf Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 2 Dec 2015 08:49:50 +0000 Subject: [PATCH] [PASSED QA] Bug 15099: Move admin/categorie.pl to admin/categories.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes the filename categorie.pl correcting it by categories.pl The plurial is usually used for script names in the admin module. Test plan: Navigate to the patron categories page. Signed-off-by: Frédéric Demians No reference to categorie.pl anywhere in the code Signed-off-by: Katrin Fischer --- C4/Form/MessagingPreferences.pm | 2 +- admin/{categorie.pl => categories.pl} | 2 +- .../intranet-tmpl/prog/en/includes/admin-menu.inc | 2 +- .../prog/en/modules/admin/admin-home.tt | 2 +- .../modules/admin/{categorie.tt => categories.tt} | 22 +++++++++++----------- .../prog/en/modules/members/member.tt | 2 +- .../prog/en/modules/members/memberentrygen.tt | 2 +- .../prog/en/modules/tools/overduerules.tt | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) rename admin/{categorie.pl => categories.pl} (99%) rename koha-tmpl/intranet-tmpl/prog/en/modules/admin/{categorie.tt => categories.tt} (95%) diff --git a/C4/Form/MessagingPreferences.pm b/C4/Form/MessagingPreferences.pm index bb981a6..cbee804 100644 --- a/C4/Form/MessagingPreferences.pm +++ b/C4/Form/MessagingPreferences.pm @@ -163,7 +163,7 @@ sub set_form_values { =head1 SEE ALSO -L, F, F, F +L, F, F, F =head1 AUTHOR diff --git a/admin/categorie.pl b/admin/categories.pl similarity index 99% rename from admin/categorie.pl rename to admin/categories.pl index cc153bd..1370b58 100755 --- a/admin/categorie.pl +++ b/admin/categories.pl @@ -39,7 +39,7 @@ my @messages; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "admin/categorie.tt", + template_name => "admin/categories.tt", query => $input, type => "intranet", authnotrequired => 0, diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc index e38b0b4..7a8704f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc @@ -26,7 +26,7 @@
Patrons and circulation
    -
  • Patron types and categories
  • +
  • Patron types and categories
  • Circulation and fines rules
  • Patron attribute types
  • Library transfer limits
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt index 885654a..846439d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt @@ -40,7 +40,7 @@

    Patrons and circulation

    -
    Patron categories
    +
    Patron categories
    Define patron categories.
    [% IF CAN_user_parameters_manage_circ_rules %]
    Circulation and fines rules
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt similarity index 95% rename from koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt rename to koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt index 8d9e436..1e74c1b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt @@ -98,9 +98,9 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'patrons-admin-search.inc' %] -[% END %] [% UNLESS ( no_add ) %]

    [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname %] [% END %][% IF (surname) %][% surname %] [% END %]([%IF ( categoryname ) %][% categoryname %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt index e561859..ed422c7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt @@ -167,7 +167,7 @@ $(document).ready(function() { [% ELSE %]
    You don't have patron categories defined, or the patron categories are not set to receive overdue notices.
    -
    If this is not what you were expecting, go to patron categories

    + [% END %] -- 1.9.1