You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TECHNICAL.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,14 @@
1
1
### Formatter
2
2
3
+
We adhere to [PHPCS](https://github.com/PHPCSStandards/PHP_CodeSniffer) rules defined in the [phpcs.xml](https://github.com/wielebenwir/commonsbooking/blob/master/.phpcs.xml.dist) rules file, as it is a mature tool and well established in the Wordpress-Plugin development scene.
4
+
A program to apply auto-formattable rules of PHPCS is `phpcbf` and we encourage everyone
5
+
to configure this tool in their IDE so that contribution commits consist of properly formatted code.
6
+
Both are already in the dev dependencies of the repository code.
7
+
8
+
We have an automatic check [as Github Action](https://github.com/wielebenwir/commonsbooking/tree/master/.github/workflows/phpcbf-check.yml) in our CI/CD-Pipeline, which prevents code contributions that not adhere to the rules.
9
+
10
+
#### Ignore formatter revisions
11
+
3
12
We use .git-blame-ignore-revs to track repo-wide cosmetic refactorings by auto format tools like prettier/phpcbf.
4
13
See [Github Documentation](https://docs.github.com/de/repositories/working-with-files/using-files/viewing-and-understanding-files#ignore-commits-in-the-blame-view)
Copy file name to clipboardExpand all lines: languages/commonsbooking-de_DE.po
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1312,43 +1312,43 @@ msgstr "Bitte kontaktiere die Kontaktpersonen vor Ort direkt, wenn du Fragen zur
1312
1312
msgid"Not set"
1313
1313
msgstr"Nicht gesetzt"
1314
1314
1315
-
#:src/Model/Timeframe.php:261
1315
+
#:src/Model/Timeframe.php:259
1316
1316
msgid"Available here"
1317
1317
msgstr"Hier verfügbar"
1318
1318
1319
1319
#. translators: %s = date in WordPress defined format
1320
-
#:src/Model/Timeframe.php:266
1320
+
#:src/Model/Timeframe.php:264
1321
1321
msgid"on %s"
1322
1322
msgstr"am %s"
1323
1323
1324
1324
#. translators: %s = date in WordPress defined format
1325
-
#:src/Model/Timeframe.php:271
1325
+
#:src/Model/Timeframe.php:269
1326
1326
msgid"from %s"
1327
1327
msgstr"von %s"
1328
1328
1329
-
#:src/Model/Timeframe.php:275
1329
+
#:src/Model/Timeframe.php:273
1330
1330
msgid"permanently"
1331
1331
msgstr"dauerhaft"
1332
1332
1333
1333
#. translators: %1$s = startdate, second %2$s = enddate in WordPress defined format
1334
-
#:src/Model/Timeframe.php:281
1334
+
#:src/Model/Timeframe.php:279
1335
1335
msgid"from %1$s until %2$s"
1336
1336
msgstr"von %1$s bis %2$s"
1337
1337
1338
1338
#. translators: %s = enddate in WordPress defined format
1339
-
#:src/Model/Timeframe.php:288
1339
+
#:src/Model/Timeframe.php:286
1340
1340
msgid"until %s"
1341
1341
msgstr"bis %s"
1342
1342
1343
-
#:src/Model/Timeframe.php:616
1343
+
#:src/Model/Timeframe.php:614
1344
1344
msgid"A pickup time but no return time has been set. Please set the return time."
1345
1345
msgstr"Eine Abholzeit, aber keine Rückgabezeit wurde festgelegt. Lege bitte eine Rückgabezeit fest."
1346
1346
1347
-
#:src/Model/Timeframe.php:626
1347
+
#:src/Model/Timeframe.php:624
1348
1348
msgid"End date is before start date. Please set a valid end date."
1349
1349
msgstr"Enddatum liegt vor dem Startdatum. Bitte setze ein gültiges Enddatum."
1350
1350
1351
-
#:src/Model/Timeframe.php:661
1351
+
#:src/Model/Timeframe.php:659
1352
1352
msgid"Item is already bookable at another location within the same date range. See other timeframe ID: %1$s: %2$s"
1353
1353
msgstr"Artikel ist bereits an einem anderen Ort innerhalb desselben Datumsbereichs buchbar. Siehe andere Zeitrahmen ID: %1$s: %2$s"
1354
1354
@@ -3196,7 +3196,7 @@ msgstr "Es ist nicht möglich, diesen Zeitrahmen im Frontend abzurufen. Bitte be
3196
3196
msgid"Cancelled"
3197
3197
msgstr"Storniert"
3198
3198
3199
-
#:src/Model/Timeframe.php:636
3199
+
#:src/Model/Timeframe.php:634
3200
3200
msgid"The start- and end-time of the timeframe can not be the same. Please check the full-day checkbox if you want users to be able to book the full day."
3201
3201
msgstr"Die Start- und Endzeit des Zeitrahmens dürfen nicht gleich sein. Wenn der gesamte Tag buchbar sein soll muss die Option \"Ganzer Tag\" angewählt sein."
3202
3202
@@ -3283,24 +3283,24 @@ msgid "If selected, days that are overbooked will be counted towards the maximum
3283
3283
msgstr"Ist diese Option aktiviert, werden überbuchte Tage auf die maximale Anzahl buchbarer Tage angerechnet. Wenn diese Option deaktiviert ist, dann werden überbuchte Tage nicht zusätzlich gezählt und ermöglichen Buchungszeiträume die länger sind als die im Zeitrahmen konfigurierte maximale Anzahl an gebuchten Tagen."
3284
3284
3285
3285
#. translators: first %s = timeframe-ID, second %s is timeframe post_title
#. translators: %s = date in WordPress defined format
1514
-
#:src/Model/Timeframe.php:266
1514
+
#:src/Model/Timeframe.php:264
1515
1515
msgid"on %s"
1516
1516
msgstr""
1517
1517
1518
1518
#. translators: %s = date in WordPress defined format
1519
-
#:src/Model/Timeframe.php:271
1519
+
#:src/Model/Timeframe.php:269
1520
1520
msgid"from %s"
1521
1521
msgstr""
1522
1522
1523
-
#:src/Model/Timeframe.php:275
1523
+
#:src/Model/Timeframe.php:273
1524
1524
msgid"permanently"
1525
1525
msgstr""
1526
1526
1527
1527
#. translators: %1$s = startdate, second %2$s = enddate in WordPress defined format
1528
-
#:src/Model/Timeframe.php:281
1528
+
#:src/Model/Timeframe.php:279
1529
1529
msgid"from %1$s until %2$s"
1530
1530
msgstr""
1531
1531
1532
1532
#. translators: %s = enddate in WordPress defined format
1533
-
#:src/Model/Timeframe.php:288
1533
+
#:src/Model/Timeframe.php:286
1534
1534
msgid"until %s"
1535
1535
msgstr""
1536
1536
1537
-
#:src/Model/Timeframe.php:561
1537
+
#:src/Model/Timeframe.php:559
1538
1538
msgid"Could not get item or location. Please set a valid item and location."
1539
1539
msgstr""
1540
1540
1541
-
#:src/Model/Timeframe.php:570
1541
+
#:src/Model/Timeframe.php:568
1542
1542
msgid"Item or location is missing. Please set item and location."
1543
1543
msgstr""
1544
1544
1545
-
#:src/Model/Timeframe.php:583
1545
+
#:src/Model/Timeframe.php:581
1546
1546
msgid"No dates selected. Please select at least one date."
1547
1547
msgstr""
1548
1548
1549
-
#:src/Model/Timeframe.php:593
1549
+
#:src/Model/Timeframe.php:591
1550
1550
msgid"The same date was selected multiple times. Please select each date only once."
1551
1551
msgstr""
1552
1552
1553
-
#:src/Model/Timeframe.php:602
1553
+
#:src/Model/Timeframe.php:600
1554
1554
msgid"Startdate is missing. Please enter a start date to publish this timeframe."
1555
1555
msgstr""
1556
1556
1557
-
#:src/Model/Timeframe.php:616
1557
+
#:src/Model/Timeframe.php:614
1558
1558
msgid"A pickup time but no return time has been set. Please set the return time."
1559
1559
msgstr""
1560
1560
1561
-
#:src/Model/Timeframe.php:626
1561
+
#:src/Model/Timeframe.php:624
1562
1562
msgid"End date is before start date. Please set a valid end date."
1563
1563
msgstr""
1564
1564
1565
-
#:src/Model/Timeframe.php:636
1565
+
#:src/Model/Timeframe.php:634
1566
1566
msgid"The start- and end-time of the timeframe can not be the same. Please check the full-day checkbox if you want users to be able to book the full day."
1567
1567
msgstr""
1568
1568
1569
-
#:src/Model/Timeframe.php:661
1569
+
#:src/Model/Timeframe.php:659
1570
1570
msgid"Item is already bookable at another location within the same date range. See other timeframe ID: %1$s: %2$s"
1571
1571
msgstr""
1572
1572
1573
1573
#. translators: first %s = timeframe-ID, second %s is timeframe post_title
1574
-
#:src/Model/Timeframe.php:697
1574
+
#:src/Model/Timeframe.php:695
1575
1575
msgid"See overlapping timeframe ID: %1$s %2$s"
1576
1576
msgstr""
1577
1577
1578
-
#:src/Model/Timeframe.php:796
1578
+
#:src/Model/Timeframe.php:794
1579
1579
msgid"Overlapping bookable timeframes are only allowed to have the same grid."
1580
1580
msgstr""
1581
1581
1582
-
#:src/Model/Timeframe.php:812
1582
+
#:src/Model/Timeframe.php:810
1583
1583
msgid"Daily repeated time periods are not allowed to overlap."
1584
1584
msgstr""
1585
1585
1586
-
#:src/Model/Timeframe.php:826
1586
+
#:src/Model/Timeframe.php:824
1587
1587
msgid"Overlapping bookable timeframes are not allowed to have the same weekdays."
1588
1588
msgstr""
1589
1589
1590
-
#:src/Model/Timeframe.php:838
1590
+
#:src/Model/Timeframe.php:836
1591
1591
msgid"Overlapping bookable timeframes are not allowed to have the same dates."
1592
1592
msgstr""
1593
1593
1594
-
#:src/Model/Timeframe.php:845
1595
-
#:src/Model/Timeframe.php:852
1594
+
#:src/Model/Timeframe.php:843
1595
+
#:src/Model/Timeframe.php:850
1596
1596
msgid"The other timeframe is overlapping with your weekly configuration."
0 commit comments