Bug 14707 : Replace UsageStatsCountry syspref from free text to a dropdown list.
This will avoid syntax problems with Hea when a user will fill this 2 sysprefs The default choice for UsageStatsLibraryType and UsageStatsCountry is 'empty' Test Plan --------- 1. Create a new Koha install 2. Go to the 'Administration' page 3. Go to 'Global system preferences' 4. Go to 'Administration' 5. At the end of this page you should see a dropdown menu for - UsageStatsCountry with all countries - UsageStatsLibraryType with all type of library They both should be empty by default. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Not a complete list but is a start Lots of new strings to translate :) No errors Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> (cherry picked from commit233dfb8c74) Signed-off-by: Frédéric Demians <f.demians@tamil.fr> (cherry picked from commit20db7d6ee6) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
bbaba5492f
commit
ebfe59ccf3
|
|
@ -476,11 +476,11 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
|
|||
('uppercasesurnames','0',NULL,'If ON, surnames are converted to upper case in patron entry form','YesNo'),
|
||||
('URLLinkText','',NULL,'Text to display as the link anchor in the OPAC','free'),
|
||||
('UsageStats', 0, NULL, 'Share anonymous usage data on the Hea Koha community website.', 'YesNo'),
|
||||
('UsageStatsCountry', '', NULL, 'The country where your library is located, to be shown on the Hea Koha community website', 'YesNo'),
|
||||
('UsageStatsCountry', '', NULL, 'The country where your library is located, to be shown on the Hea Koha community website', 'Choice'),
|
||||
('UsageStatsID', '', NULL, 'This preference is part of Koha but it should not be deleted or updated manually.', 'Free'),
|
||||
('UsageStatsLastUpdateTime', '', NULL, 'This preference is part of Koha but it should not be deleted or updated manually.', 'Free'),
|
||||
('UsageStatsLibraryName', '', NULL, 'The library name to be shown on Hea Koha community website', 'Free'),
|
||||
('UsageStatsLibraryType', 'public', 'public|school|academic|research|private|societyAssociation|corporate|government|religiousOrg|subscription', 'The library type to be shown on the Hea Koha community website', 'Choice'),
|
||||
('UsageStatsLibraryType', '', 'public|school|academic|research|private|societyAssociation|corporate|government|religiousOrg|subscription', 'The library type to be shown on the Hea Koha community website', 'Choice'),
|
||||
('UsageStatsLibraryUrl', '', NULL, 'The library URL to be shown on Hea Koha community website', 'Free'),
|
||||
('UseAuthoritiesForTracings','1','0','Use authority record numbers for subject tracings instead of heading strings.','YesNo'),
|
||||
('UseBranchTransferLimits','0','','If ON, Koha will will use the rules defined in branch_transfer_limits to decide if an item transfer should be allowed.','YesNo'),
|
||||
|
|
|
|||
|
|
@ -147,6 +147,204 @@ Administration:
|
|||
-
|
||||
- "The country where your library is located:"
|
||||
- pref: UsageStatsCountry
|
||||
default: ""
|
||||
choices:
|
||||
"" : ""
|
||||
Afghanistan : "Afghanistan"
|
||||
Albania : "Albania"
|
||||
Algeria : "Algeria"
|
||||
Andorra : "Andorra"
|
||||
Angola : "Angola"
|
||||
Antigua & Deps : "Antigua & Deps"
|
||||
Argentina : "Argentina"
|
||||
Armenia : "Armenia"
|
||||
Australia : "Australia"
|
||||
Austria : "Austria"
|
||||
Azerbaijan : "Azerbaijan"
|
||||
Bahamas : "Bahamas"
|
||||
Bahrain : "Bahrain"
|
||||
Bangladesh : "Bangladesh"
|
||||
Barbados : "Barbados"
|
||||
Belarus : "Belarus"
|
||||
Belgium : "Belgium"
|
||||
Belize : "Belize"
|
||||
Benin : "Benin"
|
||||
Bhutan : "Bhutan"
|
||||
Bolivia : "Bolivia"
|
||||
Bosnia Herz. : "Bosnia Herz."
|
||||
Botswana : "Botswana"
|
||||
Brazil : "Brazil"
|
||||
Brunei : "Brunei"
|
||||
Bulgaria : "Bulgaria"
|
||||
Burkina : "Burkina"
|
||||
Burundi : "Burundi"
|
||||
Cambodia : "Cambodia"
|
||||
Cameroon : "Cameroon"
|
||||
Canada : "Canada"
|
||||
Cape Verde : "Cape Verde"
|
||||
Centr. Afr. Rep: "Centr. Afr. Rep"
|
||||
Chad : "Chad"
|
||||
Chile : "Chile"
|
||||
China : "China"
|
||||
Colombia : "Colombia"
|
||||
Comoros : "Comoros"
|
||||
Congo : "Congo"
|
||||
Costa Rica : "Costa Rica"
|
||||
Croatia : "Croatia"
|
||||
Cuba : "Cuba"
|
||||
Cyprus : "Cyprus"
|
||||
Czech Republic : "Czech Republic"
|
||||
Denmark : "Denmark"
|
||||
Djibouti : "Djibouti"
|
||||
Dominica : "Dominica"
|
||||
Dominican Rep. : "Dominican Rep."
|
||||
East Timor : "East Timor"
|
||||
Ecuador : "Ecuador"
|
||||
Egypt : "Egypt"
|
||||
El Salvador : "El Salvador"
|
||||
Equator. Guinea: "Equator. Guinea"
|
||||
Eritrea : "Eritrea"
|
||||
Estonia : "Estonia"
|
||||
Ethiopia : "Ethiopia"
|
||||
Fiji : "Fiji"
|
||||
Finland : "Finland"
|
||||
France : "France"
|
||||
Gabon : "Gabon"
|
||||
Gambia : "Gambia"
|
||||
Georgia : "Georgia"
|
||||
Germany : "Germany"
|
||||
Ghana : "Ghana"
|
||||
Greece : "Greece"
|
||||
Grenada : "Grenada"
|
||||
Guatemala : "Guatemala"
|
||||
Guinea : "Guinea"
|
||||
Guinea-Bissau : "Guinea-Bissau"
|
||||
Guyana : "Guyana"
|
||||
Haiti : "Haiti"
|
||||
Honduras : "Honduras"
|
||||
Hungary : "Hungary"
|
||||
Iceland : "Iceland"
|
||||
India : "India"
|
||||
Indonesia : "Indonesia"
|
||||
Iran : "Iran"
|
||||
Iraq : "Iraq"
|
||||
Ireland : "Ireland"
|
||||
Israel : "Israel"
|
||||
Italy : "Italy"
|
||||
Ivory Coast : "Ivory Coast"
|
||||
Jamaica : "Jamaica"
|
||||
Japan : "Japan"
|
||||
Jordan : "Jordan"
|
||||
Kazakhstan : "Kazakhstan"
|
||||
Kenya : "Kenya"
|
||||
Kiribati : "Kiribati"
|
||||
Korea North : "Korea North"
|
||||
Korea South : "Korea South"
|
||||
Kosovo : "Kosovo"
|
||||
Kuwait : "Kuwait"
|
||||
Kyrgyzstan : "Kyrgyzstan"
|
||||
Laos : "Laos"
|
||||
Latvia : "Latvia"
|
||||
Lebanon : "Lebanon"
|
||||
Lesotho : "Lesotho"
|
||||
Liberia : "Liberia"
|
||||
Libya : "Libya"
|
||||
Liechtenstein : "Liechtenstein"
|
||||
Lithuania : "Lithuania"
|
||||
Luxembourg : "Luxembourg"
|
||||
Macedonia : "Macedonia"
|
||||
Madagascar : "Madagascar"
|
||||
Malawi : "Malawi"
|
||||
Malaysia : "Malaysia"
|
||||
Maldives : "Maldives"
|
||||
Mali : "Mali"
|
||||
Malta : "Malta"
|
||||
Marshall Isl. : "Marshall Isl."
|
||||
Mauritania : "Mauritania"
|
||||
Mauritius : "Mauritius"
|
||||
Mexico : "Mexico"
|
||||
Micronesia : "Micronesia"
|
||||
Moldova : "Moldova"
|
||||
Monaco : "Monaco"
|
||||
Mongolia : "Mongolia"
|
||||
Montenegro : "Montenegro"
|
||||
Morocco : "Morocco"
|
||||
Mozambique : "Mozambique"
|
||||
Myanmar : "Myanmar"
|
||||
Namibia : "Namibia"
|
||||
Nauru : "Nauru"
|
||||
Nepal : "Nepal"
|
||||
Netherlands : "Netherlands"
|
||||
New Zealand : "New Zealand"
|
||||
Nicaragua : "Nicaragua"
|
||||
Niger : "Niger"
|
||||
Nigeria : "Nigeria"
|
||||
Norway : "Norway"
|
||||
Oman : "Oman"
|
||||
Pakistan : "Pakistan"
|
||||
Palau : "Palau"
|
||||
Panama : "Panama"
|
||||
Papua N. Guinea: "Papua N. Guinea"
|
||||
Paraguay : "Paraguay"
|
||||
Peru : "Peru"
|
||||
Philippines : "Philippines"
|
||||
Poland : "Poland"
|
||||
Portugal : "Portugal"
|
||||
Qatar : "Qatar"
|
||||
Romania : "Romania"
|
||||
Russian Fed. : "Russian Fed."
|
||||
Rwanda : "Rwanda"
|
||||
St Kitts & Nev.: "St Kitts & Nev."
|
||||
St Lucia : "St Lucia"
|
||||
St Vincent : "Saint Vincent"
|
||||
Samoa : "Samoa"
|
||||
San Marino : "San Marino"
|
||||
Sao Tome : "Sao Tome"
|
||||
Saudi Arabia : "Saudi Arabia"
|
||||
Senegal : "Senegal"
|
||||
Serbia : "Serbia"
|
||||
Seychelles : "Seychelles"
|
||||
Sierra Leone : "Sierra Leone"
|
||||
Singapore : "Singapore"
|
||||
Slovakia : "Slovakia"
|
||||
Slovenia : "Slovenia"
|
||||
Solomon Islands: "Solomon Islands"
|
||||
Somalia : "Somalia"
|
||||
South Africa : "South Africa"
|
||||
Spain : "Spain"
|
||||
Sri Lanka : "Sri Lanka"
|
||||
Sudan : "Sudan"
|
||||
Suriname : "Suriname"
|
||||
Swaziland : "Swaziland"
|
||||
Sweden : "Sweden"
|
||||
Switzerland : "Switzerland"
|
||||
Syria : "Syria"
|
||||
Taiwan : "Taiwan"
|
||||
Tajikistan : "Tajikistan"
|
||||
Tanzania : "Tanzania"
|
||||
Thailand : "Thailand"
|
||||
Togo : "Togo"
|
||||
Tonga : "Tonga"
|
||||
Trinidad & Tob.: "Trinidad & Tob."
|
||||
Tunisia : "Tunisia"
|
||||
Turkey : "Turkey"
|
||||
Turkmenistan : "Turkmenistan"
|
||||
Tuvalu : "Tuvalu"
|
||||
Uganda : "Uganda"
|
||||
Ukraine : "Ukraine"
|
||||
UAE : "UAE"
|
||||
United Kingdom : "United Kingdom"
|
||||
USA : "USA"
|
||||
Uruguay : "Uruguay"
|
||||
Uzbekistan : "Uzbekistan"
|
||||
Vanuatu : "Vanuatu"
|
||||
Vatican City : "Vatican City"
|
||||
Venezuela : "Venezuela"
|
||||
Vietnam : "Vietnam"
|
||||
Yemen : "Yemen"
|
||||
Zambia : "Zambia"
|
||||
Zimbabwe : "Zimbabwe"
|
||||
|
||||
- This will be shown on the <a href="http://hea.koha-community.org">Hea Koha community website</a>.
|
||||
- Note that this value has no effect if the UsageStats system preference is set to "Don't share"
|
||||
-
|
||||
|
|
@ -158,16 +356,17 @@ Administration:
|
|||
-
|
||||
- The library type
|
||||
- pref: UsageStatsLibraryType
|
||||
default: public
|
||||
default: ""
|
||||
choices:
|
||||
public: "public"
|
||||
school: "school"
|
||||
academic: "academic"
|
||||
research: "research"
|
||||
private: "private"
|
||||
societyAssociation: "society or association"
|
||||
corporate: "corporate"
|
||||
government: "government"
|
||||
"" : ""
|
||||
public : "public"
|
||||
school : "school"
|
||||
academic : "academic"
|
||||
research : "research"
|
||||
private : "private"
|
||||
societyAssoc: "society or association"
|
||||
corporate : "corporate"
|
||||
government : "government"
|
||||
religiousOrg: "religious organization"
|
||||
subscription: "subscription"
|
||||
- will be shown on the <a href="http://hea.koha-community.org">Hea Koha community website</a>.
|
||||
|
|
|
|||
Loading…
Reference in New Issue