Skip to content

Commit

Permalink
Merge pull request #113 from dlippok/improve-branding
Browse files Browse the repository at this point in the history
Use card background color for photometric curve and fix translations
  • Loading branch information
dlippok authored Dec 17, 2023
2 parents dee0634 + bb338b2 commit ba14e02
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Application for viewing IES and EULUMDAT photometric files under Linux (Gnome/GT

## Features

Photometic Viewer allows you to see following information from the opened photometric file:
Photometry allows you to see following information from the opened photometric file:

- Light distribution curves of selected photometric files
- General information (Catalog Number, Manufacturer, Description, etc.)
Expand Down Expand Up @@ -49,13 +49,13 @@ Next, activate your virtual environment and install all missing dependencies:

### Running tests
```shell
python3 setup.py test
make test
```

### Starting the application

```shell
python3 run.py
make run
```

## Authors
Expand Down
1 change: 1 addition & 0 deletions data/io.github.dlippok.photometric-viewer.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<launchable type="desktop-id">io.github.dlippok.photometric-viewer.desktop</launchable>
<name>Photometry</name>
<name xml:lang="de">Photometrie</name>
<name xml:lang="pl">Fotometria</name>
<summary>Browse content of IES and LDT photometric files</summary>
<summary xml:lang="de">Öffne IES- und LDT-Photometriedateien</summary>
<summary xml:lang="pl">Przeglądaj zawartość plików fotometrzcznych IES i LDT</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ msgstr "Längeneinheiten für Anzeige in der Applikation"

#: photometric_viewer/gui/dialogs/about.py:7
msgid "Photomertic Viewer"
msgstr "Photometriebetrachter"
msgstr "Photometrie"

#: photometric_viewer/gui/dialogs/file_chooser.py:14
msgid "Untitled.json"
Expand Down Expand Up @@ -963,7 +963,7 @@ msgstr "Einstellungen"

#: photometric_viewer/gui/widgets/app_menu.py
msgid "About Photometry"
msgstr "Über Photometriebetrachter"
msgstr "Über Photometrie"

#: photometric_viewer/gui/widgets/app_menu.py
msgid "As EULUMDAT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -913,8 +913,8 @@ msgid "Measurement units displayed in the application"
msgstr "Jednostki miary w aplikacji"

#: photometric_viewer/gui/dialogs/about.py:7
msgid "Photomertic Viewer"
msgstr "Photomertic Viewer"
msgid "Photomertry"
msgstr "Fotomertia"

#: photometric_viewer/gui/dialogs/file_chooser.py:14
msgid "Untitled.json"
Expand Down
10 changes: 6 additions & 4 deletions photometric_viewer/gui/pages/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ def __init__(self, **kwargs):
editable=False,
monospace=True,
wrap_mode=Gtk.WrapMode.WORD_CHAR,
left_margin=7,
right_margin=7,
top_margin=7,
bottom_margin=7
left_margin=20,
right_margin=20,
top_margin=20,
bottom_margin=20,
pixels_below_lines=1,

)

scrolled_window = ScrolledWindow()
Expand Down
2 changes: 1 addition & 1 deletion photometric_viewer/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

#photometric_diagram {
background-color: @view_bg_color;
background-color: @card_bg_color;
border: 1px solid @shade_color;
border-radius: 10px;
}
Expand Down

0 comments on commit ba14e02

Please sign in to comment.