官术网_书友最值得收藏!

Creating the language file

Taking text out of the HTML or storing text in other files such as controllers can make maintaining applications or adding multiple languages a nightmare. Keeping languages in a separate dedicated file is always a good idea. With that in mind, we will create a language file for this app.

Create the language file en_admin_lang.php and add the following code to it:

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

// General
$lang['system_system_name'] = "URLs a Swinger";

// Encode
$lang['encode_instruction_1']= "Enter a URL in the text box below and we'll shorten it";
$lang['encode_encode_now']= "Shorten Now";
$lang['encode_encode_now_success']= "Your URL was successfully shortened - check it out below";
$lang['encode_encode_now_error']= "We could not shorten your url, see below for why";
$lang['encode_type_url_here']= "Write the URL here";
$lang['create_url_address'] = "Write the URL here";
$lang['encode_encoded_url']= "Hey look at this, your shortenedurl is:";
主站蜘蛛池模板: 类乌齐县| 穆棱市| 怀宁县| 安陆市| 宁明县| 塘沽区| 彩票| 吴川市| 白山市| 舞钢市| 田林县| 长春市| 六盘水市| 南昌县| 乐昌市| 兰坪| 梅州市| 芜湖市| 蒲城县| 天台县| 石楼县| 桓仁| 克什克腾旗| 扎赉特旗| 潞西市| 英山县| 德安县| 东方市| 榆林市| 靖远县| 邮箱| 小金县| 会同县| 合肥市| 宜兰市| 纳雍县| 福贡县| 台南市| 新安县| 弥勒县| 锦州市|