Commit ccebcf4d authored by Jeroen's avatar Jeroen

Made the search-help translatable and changed the name

parent 190a5aec
Pipeline #1355 passed with stage
in 2 seconds
......@@ -80,3 +80,40 @@ error_404 = "404 - PAGE NOT FOUND"
error_405 = "405 - NOT AUTHORIZED"
error_default = "An error occurred: "
result_count = "Number of results"
search_howto = "How to search"
usable_parameters = "You can use the following parameters (split by ',' (comma)):"
value = "Value:"
operator = "Operator:"
example = "Example:"
parameter_show_info = "Defines what kind of result will be returned. For example country is specified, it will return a list of countries.
It is combinable with other parameters. For example, 'show=country, expertise=lobbying' returns a list with countries that have an
organisation that has knowledge about lobbying."
parameter_show_value = "'country' or 'organisation' - only one of these two are allowed."
parameter_show_parameter = "Operator '=' equal to"
parameter_show_example = "show=country"
parameter_expertise_info = "The expertise parameter searches for the expertise of the employees"
parameter_expertise_value = "A word that describes an activity or expertise like 'Marketing' or 'Campaining'"
parameter_expertise_operator = "'=' equal to"
parameter_expertise_example = "expertise = programming"
parameter_country_info = "The country in which the organisation is based"
parameter_country_value = "Country's ISO code ('de', 'at', 'ru', etc.)"
parameter_country_operator = "'=' equal to"
parameter_country_example = "country = nl"
parameter_edri_info = "Organisation is, or is not, a member of EDRi"
parameter_edri_value = "EDRi-member is either 'True' or 'False'"
parameter_edri_operator = "'=' equal to"
parameter_edri_example = "edri-member = true"
parameter_number_of_employees_info = "The total number of employees working at an organisation"
parameter_number_of_employees_value = "A number (integer)"
parameter_number_of_employees_operator = "'=' equal to, '>' more then, '<' less then, '>=' more then or equal to, '<=' less than or equal to"
parameter_number_of_employees_example = "number-of-employees > 2"
parameter_noe_info = "Short for 'Number of employees'"
parameter_noe_value = "See 'number-of-employees'"
parameter_legal_status_info = "The organisation's legal status"
parameter_legal_status_value = "The legal status (string)"
parameter_legal_status_operator = "'=' equal to"
parameter_legal_status_example = "legal-status = NGO"
parameter_fte_info = "The number of FTE's (Full Time Employee) at the organisation"
parameter_fte_value = "A number (integer)"
parameter_fte_operator = "'=' equal to, '>' more then, '<' less then, '>=' more then or equal to, '<=' less than or equal to"
parameter_fte_example = "fte > 5"
......@@ -51,6 +51,11 @@ form_organisation_information = "Organisatie gegevens"
form_employee_information = "Medewerker gegevens"
form_employee_name = "Naam medewkerder"
from_employee_nickname = "Nicknaam medewerker"
form_employee_pgp_id = "PGP ID"
form_employee_expertise = "Expertise"
form_employee_split_expertise = "Onderscheid tussen activiteiten met ',' (comma)"
form_employee_contract_hours = "Contract uren per week"
form_employee_usual_hours = "Aantal uur per week meestal beschikbaar"
form_employee_email = "Email"
form_fill_in_name_or_nickname = "Voer alstublieft een naam of nicknaam in"
menu_all_organisations = "Alle organisaties"
......@@ -75,3 +80,39 @@ error_404 = "404 - PAGINA NIET GEVONDEN"
error_405 = "405 - GEEN TOEGANG"
error_default = "Er heeft zich een error voorgedaan: "
result_count = "Aantal resultaten"
search_howto = "Hoe moet u zoeken"
usable_parameters = "U kunt de volgende parameters gebruiken (onderscheiden door ',' (comma)):"
value = "Waarde:"
operator = "Operator:"
example = "Voorbeeld:"
parameter_show_info = "Defineert was voor soort resultaat er zal worden weergeven. Bijvoorbeeld: Als 'country' is gespecifeerd, dan zal er een lijst met landen worden weergeven.
Het is te combineren met andere parameters. Bijvoorbeeld 'show=country, expertise=lobbying' weergeeft een lijst met landen waar organisaties in gebaseerd zijn die verstand hebben van lobbying"
parameter_show_value = "'country' or 'organisation' - only one of these two are allowed."
parameter_show_parameter = "Operator '=' equal to"
parameter_show_example = "show=country"
parameter_expertise_info = "De expertise parameter doorzoekt de expertises van medewerkers"
parameter_expertise_value "Een woord dat een expertise omschrijft zoals 'lobbying' of 'marketing'"
parameter_expertise_operator = "'=' gelijk aan"
parameter_expertise_example = "expertise = programming"
parameter_country_info = "Het land waar de organisaties in gebaseerd zitten"
parameter_country_value = "De ISO code van een land ('de', 'at', 'ru', etc.)"
parameter_country_operator = "'=' gelijk aan"
parameter_country_example = "country = nl"
parameter_edri_info = "Een organisatie is wel, of geen, EDRi-lid"
parameter_edri_value = "EDRi-member is 'true' of 'false'"
parameter_edri_operator = "'=' equal to"
parameter_edri_example = "edri-member = true"
parameter_number_of_employees_info = "Het totaal aantal medewerkers van een organisatie"
parameter_number_of_employees_value = "Een nummer (integer)"
parameter_number_of_employees_operator = "'=' gelijk aan, '>' meer dan, '<' minder dan, '>=' meer dan of gelijk aan, '<=' minder dan of gelijk aan"
parameter_number_of_employees_example = "number-of-employees > 2"
parameter_noe_info = "kort voot'Number of employees'"
parameter_noe_value = "Zie 'number-of-employees'"
parameter_legal_status_info = "De organisatie's legale status"
parameter_legal_status_value = "De legale status (string)"
parameter_legal_status_operator = "'=' gelijk aan"
parameter_legal_status_example = "legal-status = NGO"
parameter_fte_info = "Het aantal FTE's (Full Time Employees) die voor een organisatie werken"
parameter_fte_value = "Een nummer (integer)"
parameter_fte_operator = "'=' gelijk aan, '>' meer dan, '<' minder dan, '>=' meer dan of gelijk aan, '<=' minder dan of gelijk aan"
parameter_fte_example = "fte > 5"
......@@ -695,68 +695,66 @@ class Search{
public function displaySearchHelp(){
echo "<a data-toggle=\"collapse\" href=\"#searchhelp\">
<div class=\"panel-heading\">
<h4><b>Search help</b></h4>
<h4><b>".L::search_howto."</b></h4>
</div>
</a>
<div id=\"searchhelp\" class=\"panel-collapse collapse\">
<div class=\"panel-body\">
<p>You can use the following parameters (split by ',' (comma)):
<p>".L::usable_parameters."</p>
<ul>
<li>
<b>Show</b> <i>Defines what kind of result will be returned. For example country is specified, it will return a list of countries.
It is combinable with other parameters. For example, 'show=country, expertise=lobbying' returns a list with countries that have an
organisation that has knowledge about lobbying.</i>
<br> Value: 'country' or 'organisation' - only one of these two are allowed.
<br> Operator '=' equal to
<br> Example: show=country
<b>Show</b> <i>".L::parameter_show_info."</i>
<br> ".L::value." ".L::parameter_show_value."
<br> ".L::operator." ".L::parameter_show_parameter."
<br> ".L::example." ".L::parameter_show_example."
</li>
<br>
<li>
<b>Expertise</b> <i>The expertise parameter searches for the expertise of the employees </i>
<br> Values: A word that describes an activity or expertise like 'Marketing' or 'Campaining'
<br> Operator: '=' equal to
<br> Example: expertise = programming
<b>Expertise</b> <i>".L::parameter_expertise_info."</i>
<br> ".L::value." ".L::parameter_expertise_value."
<br> ".L::operator." ".L::parameter_expertise_operator."
<br> ".L::example." ".L::parameter_expertise_example."
</li>
<br>
<li>
<b>Country</b> <i>The country in which the organisation is based</i>
<br> Values: Country's ISO code ('de', 'at', 'ru', etc.)
<br> Operator: '=' equal to
<br> Example: country = nl
<b>Country</b> <i>".L::parameter_country_info."</i>
<br> ".L::value." ".L::parameter_country_value."
<br> ".L::operator." ".L::parameter_country_operator."
<br> ".L::example." ".L::parameter_country_example."
</li>
<br>
<li>
<b>EDRi-member</b> <i>Organisation is, or is not, a member of EDRi</i>
<br> Values: EDRi-member is either 'True' or 'False'
<br> Operator: '=' equal to
<br> Example: edri-member = true
<b>EDRi-member</b> <i>".L::parameter_edri_info."</i>
<br> ".L::value." ".L::parameter_edri_value."
<br> ".L::operator." ".L::parameter_edri_operator."
<br> ".L::example." ".L::parameter_edri_example."
</li>
<br>
<li>
<b>Number-of-employees</b> <i>The total number of employees working at an organisation</i>
<br> Values: A number (integer)
<br> Operator: '=' equal to, '>' more then, '<' less then, '>=' more then or equal to, '<=' less than or equal to
<br> Example: number-of-employees > 2
<b>Number-of-employees</b> <i>".L::parameter_number_of_employees_info."</i>
<br> ".L::value." ".L::parameter_number_of_employees_value."
<br> ".L::operator." ".L::parameter_number_of_employees_operator."
<br> ".L::example." ".L::parameter_number_of_employees_example."
</li>
<br>
<li>
<b>noe</b> <i>Short for 'Number of employees'</i>
<b>noe</b> <i>".L::parameter_noe_info."</i>
<br>
<b>See 'number-of-employees'</b>
<b>".L::parameter_noe_value."</b>
</li>
<br>
<li>
<b>Legal-status</b> <i>The organisation's legal status</i>
<br> Values: The legal status
<br> Operator: '=' equal to
<br> Example: legal-status = NGO
<b>Legal-status</b> <i>".L::parameter_legal_status_info."</i>
<br> ".L::value." ".L::parameter_legal_status_value."
<br> ".L::operator." ".L::parameter_legal_status_operator."
<br> ".L::example." ".L::parameter_legal_status_example."
</li>
<br>
<li>
<b>Fte</b> <i>The number of FTE's (Full Time Employee) at the organisation</i>
<br> Values: A number (integer)
<br> Operator: '=' equal to, '>' more then, '<' less then, '>=' more then or equal to, '<=' less than or equal to
<br> Example: fte > 5
<b>Fte</b> <i>".L::parameter_fte_info."</i>
<br> ".L::value." ".L::parameter_fte_value."
<br> ".L::operator." ".L::parameter_fte_operator."
<br> ".L::example." ".L::parameter_fte_example."
</li>
</ul>
</p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment