This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from thunsaker/feature/es
Spanish Translations
- Loading branch information
Showing
18 changed files
with
510 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"187547209": "Connected to Foursquare!", | ||
"236430616": "Share", | ||
"278919766": "Connect to Foursquare on Phone", | ||
"431615381": "Connection Failed. Try Again.", | ||
"434695317": "Private Checkin", | ||
"495054875": "Powered", | ||
"590466778": "Checkin", | ||
"654506729": "Venue Name", | ||
"680250322": "Foursquare", | ||
"785287647": "Facebook", | ||
"1035871787": "No internet connection detected.", | ||
"1039756945": "Cannot determine current location. :(", | ||
"1192109149": "Error:\\n No connection to phone", | ||
"1382248430": "Timeout :(", | ||
"1422384485": "Share To...", | ||
"1570984832": "Something went wrong :(", | ||
"1662980952": "Twitter", | ||
"1679635707": "Last Check-In", | ||
"1720914531": "Powered by Foursquare", | ||
"1759176004": "Checked In!", | ||
"1805978247": "at sometime...", | ||
"1882800246": "Error with request :(", | ||
"1918266236": "Refreshing...", | ||
"1963970170": "Request timed out!", | ||
"1986659266": "Checking in...", | ||
"1999950152": "No Address", | ||
"2120535917": "Loading..." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"1035871787": "No internet connection detected.", | ||
"1039756945": "Cannot determine current location. :(", | ||
"1192109149": "Error:\\n No connection to phone", | ||
"1382248430": "Timeout :(", | ||
"1422384485": "Share To...", | ||
"1570984832": "Something went wrong :(", | ||
"1662980952": "Twitter", | ||
"1679635707": "Last Check-In", | ||
"1720914531": "Powered by Foursquare", | ||
"1759176004": "Checked In!", | ||
"1805978247": "at sometime...", | ||
"187547209": "Connected to Foursquare!", | ||
"1882800246": "Error with request :(", | ||
"1918266236": "Refreshing...", | ||
"1963970170": "Request timed out!", | ||
"1986659266": "Checking in...", | ||
"1999950152": "No Address", | ||
"2120535917": "Loading...", | ||
"236430616": "Share", | ||
"278919766": "Connect to Foursquare on Phone", | ||
"431615381": "Connection Failed. Try Again.", | ||
"434695317": "Private Checkin", | ||
"495054875": "Powered", | ||
"590466778": "Checkin", | ||
"654506729": "Venue Name", | ||
"680250322": "Foursquare", | ||
"785287647": "Facebook" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"1035871787": "No internet connection detected.", | ||
"1039756945": "Cannot determine current location. :(", | ||
"1192109149": "Error:\\n No connection to phone", | ||
"1382248430": "Timeout :(", | ||
"1422384485": "Share To...", | ||
"1570984832": "Something went wrong :(", | ||
"1662980952": "Twitter", | ||
"1679635707": "Last Check-In", | ||
"1720914531": "Powered by Foursquare", | ||
"1759176004": "Checked In!", | ||
"1805978247": "at sometime...", | ||
"187547209": "Connected to Foursquare!", | ||
"1882800246": "Error with request :(", | ||
"1918266236": "Refreshing...", | ||
"1963970170": "Request timed out!", | ||
"1986659266": "Checking in...", | ||
"1999950152": "No Address", | ||
"2120535917": "Loading...", | ||
"236430616": "Share", | ||
"278919766": "Connect to Foursquare on Phone", | ||
"431615381": "Connection Failed. Try Again.", | ||
"434695317": "Private Checkin", | ||
"495054875": "Powered", | ||
"590466778": "Checkin", | ||
"654506729": "Venue Name", | ||
"680250322": "Foursquare", | ||
"785287647": "Facebook" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"187547209": "Conectado a Foursquare", | ||
"236430616": "Compartir", | ||
"278919766": "Conecte a Foursquare en tu móvil", | ||
"431615381": ":( La conexión falló. Inténtalo de nuevo", | ||
"434695317": "Check-in Privado", | ||
"495054875": "Impulsado", | ||
"590466778": "Check-in", | ||
"654506729": "Nombre del Lugar", | ||
"680250322": "Foursquare", | ||
"785287647": "Facebook", | ||
"1035871787": "¡No hay internet!", | ||
"1039756945": "No pude localizar :(", | ||
"1192109149": "Error:\\n No pudo connectar al móvil", | ||
"1382248430": "Se falló :(", | ||
"1422384485": "Compartir a...", | ||
"1570984832": "Error cargando los lugares :(", | ||
"1662980952": "Twitter", | ||
"1679635707": "Último check-in", | ||
"1720914531": "Impulsado por Foursquare", | ||
"1759176004": "¡Éxito, estás aquí!", | ||
"1805978247": "en algún momento", | ||
"1882800246": "Error con la pedida :(", | ||
"1918266236": "Actualizando...", | ||
"1963970170": "Se falló :(", | ||
"1986659266": "Haciendo check-in...", | ||
"1999950152": "No dirección", | ||
"2120535917": "Cargando..." | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#pragma once | ||
|
||
#include <stdio.h> | ||
#include <stdint.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
|
||
#ifndef MIN | ||
#define MIN(a, b) ((a) < (b)) ? (a) : (b) | ||
#endif | ||
|
||
// Required for inlining static with -Os during pre-processor | ||
#define FORCE_INLINE __attribute__((always_inline)) inline | ||
|
||
// Supports strings up to 128 long by using 8 16-byte chunks | ||
#define HASH_DJB2_128(s, len) \ | ||
(\ | ||
(hash_djb2(s+112, MIN((len - 112),16), \ | ||
(hash_djb2(s+96, MIN((len - 96),16), \ | ||
(hash_djb2(s+80, MIN((len - 80),16), \ | ||
(hash_djb2(s+64, MIN((len - 64),16), \ | ||
(hash_djb2(s+48, MIN((len - 48),16), \ | ||
(hash_djb2(s+32, MIN((len - 32),16), \ | ||
(hash_djb2(s+16, MIN((len - 16),16), \ | ||
(hash_djb2(s,MIN(len,16),5381)))))))))))))))) \ | ||
) | ||
|
||
#define HASH_DJB2_NX(s) (HASH_DJB2_128(s, (int32_t)strlen(s)) & 0x7FFFFFFF) | ||
#define HASH_DJB2(s) HASH_DJB2_NX(s) | ||
|
||
// GCC preprocessor will only preprocess this up to 18 characters, so only do 16 | ||
// Based on DJB2 Hash, use 5381 as initial seed | ||
static FORCE_INLINE uint32_t hash_djb2( | ||
const char* bytes, const int32_t length, const uint32_t oldhash) { | ||
uint32_t hash = oldhash; | ||
|
||
if (length <= 0) return hash; | ||
|
||
// Manually unrolled with scope 1 to be compatible with Os | ||
if(length > 0) hash = ((hash << 5) + hash) + bytes[0]; | ||
if(length > 1) hash = ((hash << 5) + hash) + bytes[1]; | ||
if(length > 2) hash = ((hash << 5) + hash) + bytes[2]; | ||
if(length > 3) hash = ((hash << 5) + hash) + bytes[3]; | ||
if(length > 4) hash = ((hash << 5) + hash) + bytes[4]; | ||
if(length > 5) hash = ((hash << 5) + hash) + bytes[5]; | ||
if(length > 6) hash = ((hash << 5) + hash) + bytes[6]; | ||
if(length > 7) hash = ((hash << 5) + hash) + bytes[7]; | ||
if(length > 8) hash = ((hash << 5) + hash) + bytes[8]; | ||
if(length > 9) hash = ((hash << 5) + hash) + bytes[9]; | ||
if(length > 10) hash = ((hash << 5) + hash) + bytes[10]; | ||
if(length > 11) hash = ((hash << 5) + hash) + bytes[11]; | ||
if(length > 12) hash = ((hash << 5) + hash) + bytes[12]; | ||
if(length > 13) hash = ((hash << 5) + hash) + bytes[13]; | ||
if(length > 14) hash = ((hash << 5) + hash) + bytes[14]; | ||
if(length > 15) hash = ((hash << 5) + hash) + bytes[15]; | ||
|
||
return hash; | ||
} |
Oops, something went wrong.