Bug 41494: Rename "Koha administration" module name to "Administration"

This changes "Koha administration" to "Administration" on the
staff interface home page and the administration module home page.

Everywhere else in the staff interface, such as browser page titles
and breadcrumbs, administration is used.

This improves consistency, and is how it is commonly referred to.

It also change some other occurences in the code base, such
as code comments.

Test plan:
1. Note the inconsistencies in how we name and refer to the
   administration module:
   1.1 Staff interface home page: Koha administration
   1.2 Administration module home page: Koha administration, but note
       that the breadcrumb and browser page title is "Administration".
   1.3 Breadcrumbs and browser page titles for any of the administration
       areas are just "Administration".
   1.4 More > Administration.
2. Apply the patch.
3. Note that on the staff interface home page and the administration
   home page are now labelled "Administration".

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
David Nind 2025-12-25 00:59:23 +00:00 committed by Lucas Gass
parent 6ea77ba89a
commit ef2f7524c0
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
5 changed files with 12 additions and 13 deletions

View File

@ -33,8 +33,7 @@ my $processor = Koha::RecordProcessor->new( { filters => ('ViewPolicy') } );
Filter to remove fields based on the 'Advance constraints'
settings found when editing a particular subfield definition of
a MARC bibliographic framework found under the Koha administration
menu.
a MARC bibliographic framework found under the administration menu.
=cut

View File

@ -25,7 +25,7 @@
[% END #/ WRAPPER sub-header.inc %]
[% WRAPPER 'main-container.inc' %]
<h1>Koha administration</h1>
<h1>Administration</h1>
[% IF ( CAN_user_parameters_manage_mana ) %]
[% IF ( Koha.Preference('Mana') == 1) && !mana_url %]
<div class="alert alert-info">

View File

@ -175,7 +175,7 @@
[% IF ( CAN_user_parameters || CAN_user_plugins_admin ) %]
<li>
<a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-gears"></i>Koha administration</a>
<a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-gears"></i>Administration</a>
</li>
[% END %]
</ul>

View File

@ -554,8 +554,8 @@ Print a brief help message.
--destination_server_id=ID Provide this option, along with the destination server ID, to
upload the resultant mrc file to the selected file transport server.
You can create file transport servers via the Koha Staff client, under
Koha Administration.
You can create file transport servers using the Koha staff interface,
under Administration.
=item B<--delete_local_after_run>

View File

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <https://www.gnu.org/licenses>.
#This selenium test tests the Koha Administration module functionality including adding circ rules, item types and modifying frameworks
#This selenium test tests the Administration module functionality including adding circ rules, item types and modifying frameworks
#Note: If you are testing this on kohadevbox with selenium installed in kohadevbox then you need to set the staffClientBaseURL to localhost:8080 and the OPACBaseURL to http://localhost:80
@ -55,7 +55,7 @@ SKIP: {
$s->auth;
{ # Item types
# Navigate to the Administration area and create an item type
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Administration
$s->click( { href => '/admin/itemtypes.pl', main_class => 'main container-fluid' } ); # Item Types
$s->click( { href => '/admin/itemtypes.pl?op=add_form', main_class => 'main container-fluid' } )
; # New item type
@ -72,7 +72,7 @@ SKIP: {
{ # Circulation/fine rules
my $itype = $builder->build_object( { class => "Koha::ItemTypes" } );
$driver->get($mainpage);
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Administration
$s->click( { href => '/admin/smart-rules.pl', main_class => 'main container-fluid' } )
; # Circulation and fine rules
my $elt = $driver->find_element(
@ -96,7 +96,7 @@ SKIP: {
{ # Biblio frameworks
$driver->get($mainpage);
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Administration
$s->click( { href => '/admin/biblio_framework.pl', main_class => 'main container-fluid' } )
; # MARC bibliographic framework
$s->click( { href => '/admin/biblio_framework.pl?op=add_form', main_class => 'main container-fluid' } )
@ -120,7 +120,7 @@ SKIP: {
{ #Libraries
$driver->get($mainpage);
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Administration
$s->click( { href => '/admin/branches.pl', main_class => 'main container-fluid' } ); # Libraries and groups
$s->click( { href => '/admin/branches.pl?op=add_form', main_class => 'main container-fluid' } ); # New library
$s->fill_form( { branchcode => $branchcode, branchname => 'my library' } );
@ -148,7 +148,7 @@ SKIP: {
{ #Authorized values
$driver->get($mainpage);
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); #Koha administration
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Administration
$s->click( { href => '/admin/authorised_values.pl', main_class => 'main container-fluid' } ); #Authorized values
@ -194,7 +194,7 @@ SKIP: {
{ # Patron categories
$driver->get($mainpage);
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Administration
$s->click( { href => '/admin/categories.pl', main_class => 'main container-fluid' } ); # Patron categories
$s->click( { href => '/admin/categories.pl?op=add_form', main_class => 'main container-fluid' } )
; # New patron category