Skip to content

Commit

Permalink
Remove translations for passing Github Workflow (#335)
Browse files Browse the repository at this point in the history
* Applied workflow suggestions.

* Removed variable attributes for VScode. enforced by gitignore.

* Added manual run option.

* moved strings.json to a hidden file.
  • Loading branch information
DaanSelen authored Dec 17, 2024
1 parent 72795bf commit 17dad5a
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 83 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/combined_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
pull_request:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
trigger-build:
description: 'Trigger a manual build and push'
default: 'true'

jobs:
hassfest:
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Custom directories not needed.
.vscode


@eaDir
.DS_Store
# __pycache__
Expand All @@ -19,6 +23,7 @@ __pycache__/
# C extensions
*.so


# Distribution / packaging
.Python
build/
Expand Down
7 changes: 7 additions & 0 deletions .strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"translations": {
"en": "translations/en.json",
"nl": "translations/nl.json"
}
}

34 changes: 0 additions & 34 deletions .vscode/launch.json

This file was deleted.

8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

35 changes: 0 additions & 35 deletions .vscode/tasks.json

This file was deleted.

3 changes: 1 addition & 2 deletions custom_components/afvalwijzer/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/xirixiz/homeassistant-afvalwijzer/issues",
"requirements": [],
"version": "2024.12.01",
"translations": ["strings.json"]
"version": "2024.12.01"
}
4 changes: 0 additions & 4 deletions custom_components/afvalwijzer/strings.json

This file was deleted.

0 comments on commit 17dad5a

Please sign in to comment.