PHP Classes

File: lang/fa.php

Recommend this page to a friend!
  Packages of Amirreza Ebrahimi   URL Shortener Application   lang/fa.php   Download  
File: lang/fa.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: URL Shortener Application
Application to create and redirect short URLs
Author: By
Last change:
Date: 7 months ago
Size: 6,704 bytes
 

Contents

Class file image Download
<?php

/**
 * Persian [fa] Language Configuration File
 *
 * This file defines the configuration for the Persian language, including
 * general settings such as directionality, font, and stylesheets, as well
 * as localized strings for the user interface.
 */

return [
   
# General Configuration for Persian [fa] Language
   
'lang' => 'fa', # Language code
   
'dir' => 'rtl', # Text direction (right-to-left)
   
'font' => 'https://fonts.cdnfonts.com/css/lalezar', # Persian-specific font URL
   
'maincss' => 'css/fa/main.css', # Main stylesheet for Persian layout
   
'resonsecss' => 'css/fa/responsive.css', # Responsive stylesheet for Persian layout
   
'emailcss' => 'css/fa/email.css', # Email-related stylesheet for Persian layout
   
'GDLibrary' => 'css/fa/GDLibrary.css',
   
'appjs' => 'js/fa/app.js', # Main JavaScript file for Persian layout
   
'indexjs' => 'js/fa/index.js', # Index page JavaScript for Persian layout
   
'direction-1' => 'right', # Primary text alignment direction
   
'direction-2' => 'left', # Secondary text alignment direction
   
'position-alarm' => 'top-end', # Default position for notifications (e.g., SweetAlert)

    # Localization for the Index View
   
'index-title' => '????? ????? ????', # Title for the index page
   
'clear' => '??? ????', # Button text for clearing input
   
'copy' => '???', # Button text for copying the shortened URL
   
'short' => '????? ????', # Button text for generating a shortened URL
   
'panel' => '??? ??????', # Label for user control panel
   
'yourshort' => '???? ????? ???', # Placeholder for displaying shortened URL
   
'yourlink' => '???? ???? ??? ?? ???? ????', # Placeholder for entering the URL

    # Localization for the Login View
   
'login-title' => '???? | ?????', # Title for the login page
   
'signin' => '???? ?? ????', # Button text for signing in
   
'sendcode' => '????? ??', # Button text for sending verification code
   
'pemail' => '???? ????? ????? ???? ??????!', # Error message for invalid email input
   
'inputemail' => '????? ??? ?? ???? ????...', # Placeholder for email input field

    # Localization for the Verify View
   
'verify-title' => '????? ????', # Title for the email verification page
   
'verify' => '????? ???? ?????', # Button text for verifying email
   
'sub' => '?????', # Button text for form submission
   
'pverify' => '????? ?? ????? ????? ?? ???? ????!', # Error message for invalid verification code
   
'inputverify' => '???? ?? ????? ?? ???? ??????', # Placeholder for verification code input

    # Localization for the User Panel View
   
'panel-h1' => '??????? ??????', # Header text for the user panel
   
'panel-title' => '??? ??????', # Title for the user panel page
   
'dash' => '???????', # Label for the dashboard section
   
'stats' => '????', # Label for the statistics section
   
'profile' => '??????? [?????...]', # Placeholder for upcoming profile feature
   
'settings' => '??????? [?????...]', # Placeholder for upcoming settings feature
   
'comingsoon' => '????? ...!', # Label for the comming soon feature
   
'copied' => '??? ??!', # Label for the copied feature
   
'desturl' => '???? ????', # Label for the destination URL
   
'view' => '??????', # Label for the number of views
   
'qr' => 'QR ?????', # Label for QR code functionality
   
'edit' => '??????', # Button text for editing the URL
   
'delete' => '???', # Button text for deleting the URL
   
'shorturl' => '???? ?????', # Label for displaying the shortened URL

    # Localization for the erroe GDLibrary View
   
'GD-title' => '???? ???? ???? GD',
   
'GD-h1' => '???? ????????? GD',
   
'GD-p1' => '???????? GD ?? ???? ??? ???? ????. ???? ??????? ?? ??? ?????? ???? GD ?? ?? ???? <code>php.ini</code> ???? ????.',
   
'GD-p2' => '????? ?? ?? ????????? GD? ???? ?? ?????? ?????????? ????.',
   
'GD-a' => '??????? ????????? GD',

   
# Localization for the Edit URL Panel View
   
'edit-title' => '?????? ????', # Title for the edit URL page
   
'edit-h2' => '?????? ???? ????', # Header text for the edit URL form
   
'edit-input' => '???? ???? ?? ???? ????...', # Placeholder for the destination URL input
   
'pedit' => '????? ???? ????? ???? ????!', # Error message for invalid Edit URL input

    # Localization for Sending Email Notifications
   
'emailMs' => '??? ???? ????? ???? ???: ', # Email message for sending a one-time password
   
'emailTitle' => '??????? ??????', # Email subject/title
   
'welcome' => '???? ???? ?????', # Email greeting

    # Error Messages for Display
   
'Er-InvalidEmail' => '????? ???? ??? ????? ??? ????', # Error message for invalid email
   
'Er-TryAgain' => '????? ?? ???? ???? ???? ???? ????', # Generic error message
   
'Er-Expired' => '?????? ?? ??? ?? ????? ????? ???? ???? ???? ????', # Error message for expired verification code
   
'Er-InvalidCode' => '?? ???? ??? ?????? ??? ???? ???? ???? ????', # Error message for incorrect verification code
   
'Er-TryAgin' => '???? ????? ???? ????...', # Retry message for errors
   
'Er-Login' => '???? ??????? ?? ????? ???? ???? ???? ?????? ??? ????', # Login error message
   
'Er-InvalidUrl' => '???? ???? ??? ????? ??? ????...', # Error message for invalid URL

    # Success Messages for Display
   
'Ms-LoginSuccess' => '????? ?????? ?? ???? ?????? ??? ??? ?????', # Success message for login
   
'Ms-EditSuccess' => '???? ??? ?? ?????? ?????? ??', # Success message for URL update
   
'Ms-DeleteSuccess' => '???? ??? ?? ?????? ??? ??', # Success message for URL deletion
   
'Ms-LogOut' => '??? ?? ?????? ?? ???? ?????? ??? ???? ????', # Success message for logout
   
'Ms-Create' => '???? ????? ??? ?? ?????? ????? ??', # Success message for Create Shor Url
   
'Ms-Copied' => '??? ??!' # Success message for Copying Url
];