Skip to content

Instantly share code, notes, and snippets.

View xpallicer's full-sized avatar

Xavier xpallicer

View GitHub Profile
@xpallicer
xpallicer / en-GB.com_hotel.ini
Last active December 12, 2015 07:49
CloudHotelier BE strings
; DEFINITIONS
; Locale definitions must match motools locale definitions
MOD_HOTEL_LOCALE="%d/%m/%Y"
MOD_HOTEL_LANG="en-GB"
COM_HOTEL_ERROR_API="Could not connect to CloudHotelier. Please, try again later."
COM_HOTEL_ERROR_PHP="Sorry, PHP version is not supported. CloudHotelier needs PHP 5.2 or 5.3."
COM_HOTEL_ERROR_CURL="Sorry, CloudHotelier needs PHP CURL. Please, contact your host."
COM_HOTEL_ERROR_MODULE="Error. Module not found. Remember that CloudHotelier Menu Items MUST always have a CloudHotelier module published"
COM_HOTEL_ERROR_AVAILABILTY_0="Sorry, errors found"
@xpallicer
xpallicer / es-ES.com_hotel.ini
Last active December 31, 2015 03:59
CloudHotelier strings es-ES
; DEFINICIONES
; Deben coincidir con mootools locale
MOD_HOTEL_LOCALE="%d/%m/%Y"
MOD_HOTEL_LANG="es-ES"
COM_HOTEL_ERROR_API="No se ha podido conectar a CloudHotelier. Por favor, inténtelo de nuevo en unos minutos."
COM_HOTEL_ERROR_PHP="Lo sentimos, la versión de PHP está anticuada. CloudHotelier necesita almenos PHP 5.2 o 5.3 o superior."
COM_HOTEL_ERROR_CURL="Lo sentimos, CloudHotelier necesita PHP CURL para funcionar. Por favor, contacte con su proveedor de alojamiento."
COM_HOTEL_ERROR_MODULE="Error. No se ha encontrado el módulo. Recueda el módulo CloudHotelier siempre tiene que estar publicado para todos los ítems de menú CloudHotelier."
COM_HOTEL_ERROR_AVAILABILTY_0="Se han encontrado errores"
@xpallicer
xpallicer / joomlaupdate
Created October 22, 2015 11:49 — forked from renekreijveld/joomlaupdate
This bash script will update your Joomla 2.5/3.1 website to the latest Joomla version. It does this by automatically downloading the correct update zipfile from Joomla.org. The script also executes the sql update commads (if needed). If specified joomlaupdate will make a backup of your website and database before updating. Joomlaupdate can also …
#!/bin/bash
#!/bin/sh
# joomlaupdate
# Updates your Joomla 2.5/3.1 website to the latest version.
#
# Usage: joomlaupdate [-s] [-b] [-h] [-l]
#
# Default action is verbose on, no backup.
# -s Silent. Do not display any informational messages.
{
"last_updated": "2016-08-12",
"rates": {
"AT": {
"country": "Austria",
"standard_rate": 20.00,
"exclusions": false
},
"BE": {
"country": "Belgium",
; CHClient
; Copyright (C) 2011 - 2016 CloudHotelier. All rights reserved.
; License GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
; Author: Xavier Pallicer <[email protected]>
COM_CHCLIENT_ABORTED="Aborted"
COM_CHCLIENT_ACCEPT="Accept"
COM_CHCLIENT_ACCEPTED_CARDS="Accepted cards"
COM_CHCLIENT_ACCESS_BOOKING="Access to your booking"
COM_CHCLIENT_ADD="Add"