mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
adding strings and color for updated ui
This commit is contained in:
parent
6031ea3cc6
commit
68203bad52
@ -1,3 +1,63 @@
|
|||||||
|
export const LightColors = {
|
||||||
|
tabBar: '#448866',
|
||||||
|
activeTabIcon: '#ffffff',
|
||||||
|
idleTabIcon: '#cccccc',
|
||||||
|
linkText: '#338866',
|
||||||
|
dangerText: '#ff8888',
|
||||||
|
labelText: '#555555',
|
||||||
|
iconText: '#fffff',
|
||||||
|
unsetText: '#999999',
|
||||||
|
descriptionText: '#888888',
|
||||||
|
text: '#444444',
|
||||||
|
screenBase: '#dddddd',
|
||||||
|
areaBase: '#ffffff',
|
||||||
|
headerBar: '#eeeeee',
|
||||||
|
primaryButton '#448866',
|
||||||
|
inputBase: '#ffffff',
|
||||||
|
inputPlaceholder: '#888888',
|
||||||
|
inputText: '#444444',
|
||||||
|
connectedIndicator: '#41d041',
|
||||||
|
connectingIndicator: '#0000cc',
|
||||||
|
requestedIndicator: '#00bbbb'
|
||||||
|
pendingIndicator: '#bbbb00',
|
||||||
|
confirmedIndicator: '#88bb00',
|
||||||
|
unknownIndicator: '#dddddd',
|
||||||
|
errorIndicator: '#ffaaaa',
|
||||||
|
divider: '#eeeeee',
|
||||||
|
unreadIndicator: '#00aa00',
|
||||||
|
disconnectedIndicator: '#aa0000',
|
||||||
|
};
|
||||||
|
|
||||||
|
export const DarkColors = {
|
||||||
|
tabBar: '#111111',
|
||||||
|
activeTabIcon: '#dddddd',
|
||||||
|
idleTabIcon: '#aaaaaa',
|
||||||
|
linkText: '#88eecc',
|
||||||
|
dangerText: '#ffaaaa',
|
||||||
|
labelText: "#eeeeee',
|
||||||
|
iconText: '#fffff',
|
||||||
|
unsetText: '#aaaaaa',
|
||||||
|
descriptionText: '#bbbbbb',
|
||||||
|
text: '#ffffff',
|
||||||
|
screenBase: '#333333',
|
||||||
|
areaBase: '#555555',
|
||||||
|
headerBar '#555555',
|
||||||
|
primaryButton: '#448866',
|
||||||
|
inputBase: '#ffffff',
|
||||||
|
inputPlaceholder: '#888888',
|
||||||
|
inputText: '#444444',
|
||||||
|
connectedIndicator: '#00cc00',
|
||||||
|
connectingIndicator: '#0000cc',
|
||||||
|
requestedIndicator: '#00bbbb'
|
||||||
|
pendingIndicator: '#bbbb00',
|
||||||
|
confirmedIndicator: '#88bb00',
|
||||||
|
unknownIndicator: '#dddddd',
|
||||||
|
errorIndicator: '#ffaaaa',
|
||||||
|
divider: '#888888',
|
||||||
|
unreadIndicator: '#00aa00',
|
||||||
|
disconnectedIndicator: '#aa0000',
|
||||||
|
};
|
||||||
|
|
||||||
export const Colors = {
|
export const Colors = {
|
||||||
background: '#8fbea7',
|
background: '#8fbea7',
|
||||||
primary: '#448866',
|
primary: '#448866',
|
||||||
|
99
app/mobile/src/constants/Strings.js
Normal file
99
app/mobile/src/constants/Strings.js
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
export getLanguageId(language) {
|
||||||
|
if (language === 'english') {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
if (language === 'french') {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if (language === 'spanish') {
|
||||||
|
return 2;
|
||||||
|
}
|
||||||
|
if (language === 'german') {
|
||||||
|
return 3;
|
||||||
|
}
|
||||||
|
return 0; // default
|
||||||
|
};
|
||||||
|
|
||||||
|
export const Strings = [
|
||||||
|
{
|
||||||
|
visibleRegistry: 'Visible in Rengistry',
|
||||||
|
edit: 'Edit',
|
||||||
|
enableNotifications: 'Enable Notifications',
|
||||||
|
sealedTopics: 'Sealed Topics',
|
||||||
|
colorMode: 'Color Mode',
|
||||||
|
clockMode: 'Hour Format',
|
||||||
|
language: 'Language',
|
||||||
|
logout: 'Logout',
|
||||||
|
changeLogin: 'Change Login',
|
||||||
|
deleteAccount: 'Delete Account',
|
||||||
|
contacts: 'Contacts',
|
||||||
|
topics: 'Topics',
|
||||||
|
messages: 'Messages',
|
||||||
|
support: 'Support',
|
||||||
|
blocked: 'Blocked',
|
||||||
|
actions: 'Actions',
|
||||||
|
display: 'Display',
|
||||||
|
settings: 'Settings',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
visibleRegistry: 'Visible dans le Registre',
|
||||||
|
edit: 'Modifier',
|
||||||
|
enableNotifications: 'Activer les Notifications',
|
||||||
|
sealedTopics: 'Sujets Sécurisés',
|
||||||
|
colorMode: 'Mode de Couleur',
|
||||||
|
clockMode: 'Format d\'Heure',
|
||||||
|
language: 'Langue',
|
||||||
|
logout: 'Se Déconnecter',
|
||||||
|
changeLogin: 'Changer le Mot de Passe',
|
||||||
|
deleteAccount: 'Supprimer le Compte',
|
||||||
|
contacts: 'Contacts',
|
||||||
|
topics: 'Sujets',
|
||||||
|
messages: 'Messages',
|
||||||
|
support: 'Aide',
|
||||||
|
blocked: 'Supprimé',
|
||||||
|
actions: 'Actions',
|
||||||
|
display: 'Écran',
|
||||||
|
settings: 'Configuration',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
visibleRegistry: 'Visible en el Registro',
|
||||||
|
edit: 'Editar',
|
||||||
|
enableNotifications: 'Permitir Notificaciones',
|
||||||
|
sealedTopics: 'Temas Protegidos',
|
||||||
|
colorMode: 'Modo de Color',
|
||||||
|
clockMode: 'Formato de Hora',
|
||||||
|
language: 'Idioma',
|
||||||
|
logout: 'Cerrar Sesión',
|
||||||
|
changeLogin: 'Cambiar la contraseña',
|
||||||
|
deleteAccount: 'Borrar Cuenta',
|
||||||
|
contacts: 'Contactos',
|
||||||
|
topics: 'Temas',
|
||||||
|
messages: 'Mensajes',
|
||||||
|
support: 'Ayuda',
|
||||||
|
blocked: 'Oculto',
|
||||||
|
actions: 'Métodos',
|
||||||
|
display: 'Pantalla'
|
||||||
|
settings: 'Configuración',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
visibleRegistry: 'Sichtbar in der Registrierung',
|
||||||
|
edit: 'Bearbeiten',
|
||||||
|
enableNotifications: 'Benachrichtigungen aktivieren',
|
||||||
|
sealedTopics: 'Gesicherte Themen',
|
||||||
|
colorMode: 'Farmodus',
|
||||||
|
clockMode: 'Stundenformat',
|
||||||
|
language: 'Sprache',
|
||||||
|
logout: 'Ausloggen',
|
||||||
|
changeLogin: 'Kennwort Aktualisieren',
|
||||||
|
deleteAccount: 'Konto Löschen',
|
||||||
|
contacts: 'Kontakte',
|
||||||
|
topics: 'Themen',
|
||||||
|
messages: 'Mitteilungen',
|
||||||
|
support: 'Helfen',
|
||||||
|
blocked: 'Versteckt',
|
||||||
|
actions: 'Aktionen',
|
||||||
|
display: 'Bildschirm',
|
||||||
|
settings: 'Aufbau',
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user