Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
Merge pull request #71 from coredump-ch/directory-endpoint
Browse files Browse the repository at this point in the history
Switch default directory to directory.spaceapi.io
  • Loading branch information
rorist authored Feb 28, 2020
2 parents 39f9007 + 210e9a5 commit fb235b3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/ch/fixme/status/Prefs.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class Prefs extends PreferenceActivity implements
OnSharedPreferenceChangeListener {

public static final String KEY_API_ENDPOINT = "api_endpoint";
public static final String DEFAULT_API_ENDPOINT = "https://spaceapi.fixme.ch/directory.json";
public static final String DEFAULT_API_ENDPOINT = "https://directory.spaceapi.io/";

public static final String KEY_API_URL = "apiurl";

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<string name="error_generic">\n\nKontroller at det aktive SpaceAPI overholder den revision det annoncerer!\n\nSe https://spaceapi.io/</string>

<string name="prefs_api_title">Rediger OpenSpaceDirectory-URL</string>
<string name="prefs_api_summary">URL til den globale SpaceAPI-fortegnelse der skal anvendes (directory.json fil)\nEksempler:\nhttps://spaceapi.fixme.ch/directory.json</string>
<string name="prefs_api_summary">URL til den globale SpaceAPI-fortegnelse der skal anvendes (directory.json fil)\nEksempler:\nhttps://directory.spaceapi.io/</string>
<string name="prefs_api_url_title">Rediger SpaceAPI-URL</string>
<string name="prefs_api_url_summary">Ændr URL for det aktive SpaceAPI (mistes ved valg af hackerspace fra fortegnelsen)</string>
<string name="prefs_interval_title">Opdateringsinterval</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Licensed under GNU's GPL 3, see README
<string name="error_generic">\n\nÜberprüfen Sie ob die API der Version entspricht, welche angeben wurde!\n\nsiehe https://spaceapi.io/</string>

<string name="prefs_api_title">SpaceAPI Endpoint</string>
<string name="prefs_api_summary">URL zum globalen SpaceAPI-Directory (directory.json)\nBeispiel:\nhttps://spaceapi.fixme.ch/directory.json</string>
<string name="prefs_api_summary">URL zum globalen SpaceAPI-Directory (directory.json)\nBeispiel:\nhttps://directory.spaceapi.io/</string>
<string name="prefs_api_url_title">Aktuelle Hackerspace-API</string>
<string name="prefs_api_url_summary">Aktuelle Hackerspace-API überladen (geht verloren, wenn ein anderer Hackerspace in der Liste gewählt wird)</string>
<string name="prefs_interval_title">Aktualisierungsintervall</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<string name="error_generic">\n\nVérifiez que votre API corresponde à la version que vous déclarez!\n\nVoir https://spaceapi.io/</string>

<string name="prefs_api_title">Serveur de la SpaceAPI</string>
<string name="prefs_api_summary">URL vers l\'annuaire de la SpaceAPI (fichier directory.json)\nExemple:\nhttps://spaceapi.fixme.ch/directory.json</string>
<string name="prefs_api_summary">URL vers l\'annuaire de la SpaceAPI (fichier directory.json)\nExemple:\nhttps://directory.spaceapi.io/</string>
<string name="prefs_api_url_title">API du hackerspace sélectionné</string>
<string name="prefs_api_url_summary">Outrepasser l\'url du hackerspace sélectionné (sera perdu lors de la sélection d\'un autre hackerspace dans la liste)</string>
<string name="prefs_interval_title">Interval de vérification</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<string name="error_generic">\n\nKijk of uw API gelijk is aan het level dat u gebruikt!\n\nZie https://spaceapi.io/</string>

<string name="prefs_api_title">SpaceAPI Endpoint</string>
<string name="prefs_api_summary">URL to the global SpaceAPI directory (directory.json file)\nExample:\nhttps://spaceapi.fixme.ch/directory.json</string>
<string name="prefs_api_summary">URL to the global SpaceAPI directory (directory.json file)\nExample:\nhttps://directory.spaceapi.io/</string>
<string name="prefs_api_url_title">Current hackerspace API</string>
<string name="prefs_api_url_summary">Override current hackerspace URL (will be lost when choosing an other hackerspace in the list)</string>
<string name="prefs_interval_title">Update tijd</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Licensed under GNU's GPL 3, see README
<string name="error_generic">\n\nCheck that the current SpaceAPI conforms to the level it actually declares!\n\nSee https://spaceapi.io/</string>

<string name="prefs_api_title">Edit OpenSpaceDirectory URL</string>
<string name="prefs_api_summary">URL for the global SpaceAPI directory to use (directory.json file)\nExamples:\nhttps://spaceapi.fixme.ch/directory.json</string>
<string name="prefs_api_summary">URL for the global SpaceAPI directory to use (directory.json file)\nExamples:\nhttps://directory.spaceapi.io/</string>
<string name="prefs_api_url_title">Edit SpaceAPI URL</string>
<string name="prefs_api_url_summary">Override current SpaceAPI URL (will be lost when choosing a hackerspace from the directory)</string>
<string name="prefs_interval_title">Check interval</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
android:key="api_endpoint"
android:title="@string/prefs_api_title"
android:summary="@string/prefs_api_summary"
android:defaultValue="https://spaceapi.fixme.ch/directory.json"
android:defaultValue="https://directory.spaceapi.io/"
android:inputType="textUri" />

<EditTextPreference
Expand Down

0 comments on commit fb235b3

Please sign in to comment.