Skip to content

1Bragim0ff/Prayer-Schedule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prayer-Schedule

Muslim Prayer Schedule. Extension for browser.

screely-1645631985204

Supported browsers

Build/Run

Requirements

  • Node.js v16.13.1 or greater
  • NPM v8 or greater
  • Google Chrome or any other browser

Run the app

Before running the application, you need to get the API key from https://opencagedata.com/api and paste it in the config.js file in the src folder

npm install
npm run build

You can now load the extension into your browser through the browser's extension tools page:

  • Chrome:
    • Type chrome://extensions in your address bar to bring up the extensions page.
    • Enable developer mode (toggle switch)
    • Click the "Load unpacked extension" button, navigate to the build folder of your local extension instance, and click "Ok".

Localization

Application localization uses i18n from Chrome API. The application has two components that need to be localized - time and text.

  • The time format automatically adjusts to the user's region, so this part does not need to be localized manually
  • To localize text in the application, you need to create a folder with the abbreviation of your language in the public /_locales_ folder, as described in the Chrome API documentation

The application has already been translated into the following languages:

  • Russian
  • English