An open API service indexing awesome lists of open source software.

https://github.com/elementary/switchboard-plug-datetime

Switchboard Date & Time Plug
https://github.com/elementary/switchboard-plug-datetime

gtk gtk3 hacktoberfest meson switchboard vala

Last synced: 8 months ago
JSON representation

Switchboard Date & Time Plug

Awesome Lists containing this project

README

          

# Date & Time Settings
[![Translation status](https://l10n.elementary.io/widget/switchboard/datetime/svg-badge.svg)](https://l10n.elementary.io/engage/switchboard/)

![screenshot](data/screenshot.png?raw=true)

## Building and Installation

You'll need the following dependencies:

* libadwaita-1-dev >= 1.4.0
* libgranite-7-dev
* libical-dev
* libswitchboard-3-dev
* meson
* valac

Run `meson` to configure the build environment and then `ninja` to build

meson build --prefix=/usr
cd build
ninja

To install, use `ninja install`

ninja install

## Regenerate the Translation.vala

To regenerate the `Translation.vala` file containing the list of all the timezone names ready to parse by gettext, set the `regenerate_translation` option to `true`

cd build
meson configure -Dregenerate_translation=true

You'll then need to install the plug, run switchboard and open the plug. The new `Translation.vala` file will be ready in your Home folder.