Merge pull request #165 from flixcoo/new-workflow

New workflow
This commit is contained in:
2025-08-18 13:50:23 +02:00
committed by GitHub
5 changed files with 5947 additions and 32 deletions

View File

@@ -28,23 +28,27 @@ jobs:
- name: Generate oss_licenses.dart - name: Generate oss_licenses.dart
run: flutter pub run flutter_oss_licenses:generate -o lib/presentation/views/about/licenses/oss_licenses.dart run: flutter pub run flutter_oss_licenses:generate -o lib/presentation/views/about/licenses/oss_licenses.dart
#- name: Check for changes - name: Escape dollar signs in licenses
# id: check_changes run: |
# run: | sed -i 's/\$/\\$/g' lib/presentation/views/about/licenses/oss_licenses.dart
# if [[ $(git status --porcelain) ]]; then
# echo "changes_detected=true" >> $GITHUB_OUTPUT
# else
# echo "changes_detected=false" >> $GITHUB_OUTPUT
# fi
#- name: Commit Changes - name: Check for changes
# if: steps.check_changes.outputs.changes_detected == 'true' id: check_changes
# run: | run: |
# git config --global user.name "GitHub Actions" if [[ $(git status --porcelain) ]]; then
# git config --global user.email "actions@github.com" echo "changes_detected=true" >> $GITHUB_OUTPUT
# git add . else
# git commit -m "Actions: Licenses updated [skip ci]" echo "changes_detected=false" >> $GITHUB_OUTPUT
# git push fi
- name: Commit Changes
if: steps.check_changes.outputs.changes_detected == 'true'
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git add .
git commit -m "Actions: Licenses updated [skip ci]"
git push
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -95,7 +95,7 @@ abstract class AppLocalizations {
/// A list of this localizations delegate's supported locales. /// A list of this localizations delegate's supported locales.
static const List<Locale> supportedLocales = <Locale>[ static const List<Locale> supportedLocales = <Locale>[
Locale('de'), Locale('de'),
Locale('en') Locale('en'),
]; ];
/// No description provided for @app_name. /// No description provided for @app_name.
@@ -487,7 +487,11 @@ abstract class AppLocalizations {
/// In de, this message translates to: /// In de, this message translates to:
/// **'{playerCount, plural, =1{{names} hat exakt das Punktelimit von {pointLimit} Punkten erreicht und bekommt deshalb {bonusPoints} Punkte abgezogen!} other{{names} haben exakt das Punktelimit von {pointLimit} Punkten erreicht und bekommen deshalb jeweils {bonusPoints} Punkte abgezogen!}}'** /// **'{playerCount, plural, =1{{names} hat exakt das Punktelimit von {pointLimit} Punkten erreicht und bekommt deshalb {bonusPoints} Punkte abgezogen!} other{{names} haben exakt das Punktelimit von {pointLimit} Punkten erreicht und bekommen deshalb jeweils {bonusPoints} Punkte abgezogen!}}'**
String bonus_points_message( String bonus_points_message(
int playerCount, String names, int pointLimit, int bonusPoints); int playerCount,
String names,
int pointLimit,
int bonusPoints,
);
/// No description provided for @end_of_game_title. /// No description provided for @end_of_game_title.
/// ///
@@ -778,5 +782,6 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
'an issue with the localizations generation tool. Please file an issue ' 'an issue with the localizations generation tool. Please file an issue '
'on GitHub with a reproducible sample app and the gen-l10n configuration ' 'on GitHub with a reproducible sample app and the gen-l10n configuration '
'that was used.'); 'that was used.',
);
} }

View File

@@ -214,7 +214,11 @@ class AppLocalizationsDe extends AppLocalizations {
@override @override
String bonus_points_message( String bonus_points_message(
int playerCount, String names, int pointLimit, int bonusPoints) { int playerCount,
String names,
int pointLimit,
int bonusPoints,
) {
String _temp0 = intl.Intl.pluralLogic( String _temp0 = intl.Intl.pluralLogic(
playerCount, playerCount,
locale: localeName, locale: localeName,

View File

@@ -211,7 +211,11 @@ class AppLocalizationsEn extends AppLocalizations {
@override @override
String bonus_points_message( String bonus_points_message(
int playerCount, String names, int pointLimit, int bonusPoints) { int playerCount,
String names,
int pointLimit,
int bonusPoints,
) {
String _temp0 = intl.Intl.pluralLogic( String _temp0 = intl.Intl.pluralLogic(
playerCount, playerCount,
locale: localeName, locale: localeName,

File diff suppressed because it is too large Load Diff